We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 48e354d commit de021e3Copy full SHA for de021e3
src/libstd/sys/unix/stack_overflow.rs
@@ -140,15 +140,15 @@ mod imp {
140
#[cfg(any(target_os = "linux",
141
target_os = "macos",
142
target_os = "bitrig",
143
+ target_os = "freebsd",
144
target_os = "netbsd",
145
target_os = "openbsd",
146
target_os = "solaris"))]
147
unsafe fn get_stack() -> libc::stack_t {
148
libc::stack_t { ss_sp: get_stackp(), ss_flags: 0, ss_size: SIGSTKSZ }
149
}
150
- #[cfg(any(target_os = "freebsd",
151
- target_os = "dragonfly"))]
+ #[cfg(target_os = "dragonfly")]
152
153
libc::stack_t { ss_sp: get_stackp() as *mut i8, ss_flags: 0, ss_size: SIGSTKSZ }
154
0 commit comments