Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions src/backends/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ cfg_if! {
target_os = "netbsd",
target_os = "freebsd",
target_os = "dragonfly",
target_os = "haiku",
target_os = "illumos"
))] {
mod unix;
Expand Down
2 changes: 1 addition & 1 deletion src/backends/unix.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#[cfg(any(target_os = "freebsd", target_os = "dragonfly", target_os = "illumos"))]
use libc::pthread_attr_get_np as get_attr;
#[cfg(any(target_os = "linux", target_os = "solaris", target_os = "netbsd"))]
#[cfg(any(target_os = "linux", target_os = "solaris", target_os = "netbsd", target_os = "haiku"))]
use libc::pthread_getattr_np as get_attr;

pub unsafe fn guess_os_stack_limit() -> Option<usize> {
Expand Down
Loading