File tree Expand file tree Collapse file tree 1 file changed +0
-14
lines changed Expand file tree Collapse file tree 1 file changed +0
-14
lines changed Original file line number Diff line number Diff line change @@ -161,24 +161,10 @@ mod imp {
161
161
stackp. add ( page_size ( ) )
162
162
}
163
163
164
- #[ cfg( any(
165
- target_os = "linux" ,
166
- target_os = "macos" ,
167
- target_os = "freebsd" ,
168
- target_os = "netbsd" ,
169
- target_os = "openbsd" ,
170
- target_os = "solaris" ,
171
- target_os = "illumos"
172
- ) ) ]
173
164
unsafe fn get_stack ( ) -> libc:: stack_t {
174
165
libc:: stack_t { ss_sp : get_stackp ( ) , ss_flags : 0 , ss_size : SIGSTKSZ }
175
166
}
176
167
177
- #[ cfg( target_os = "dragonfly" ) ]
178
- unsafe fn get_stack ( ) -> libc:: stack_t {
179
- libc:: stack_t { ss_sp : get_stackp ( ) as * mut i8 , ss_flags : 0 , ss_size : SIGSTKSZ }
180
- }
181
-
182
168
pub unsafe fn make_handler ( ) -> Handler {
183
169
if !NEED_ALTSTACK . load ( Ordering :: Relaxed ) {
184
170
return Handler :: null ( ) ;
You can’t perform that action at this time.
0 commit comments