Skip to content

Commit 6d6567c

Browse files
Fix freebsd-likes stage2 build
1 parent 867c6ff commit 6d6567c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/unix/bsd/freebsdlike/dragonfly.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
pub const PTHREAD_STACK_MIN: ::size_t = 1024;
22
pub const KERN_PROC_PATHNAME: ::c_int = 9;
3-
pub const SIGSTKSZ: ::size_t = 8192 /* MINSIGSTKSZ */ + 32768;
3+
pub const SIGSTKSZ: ::size_t = 40960;
44

55
extern {
66
pub fn __dfly_error() -> *const ::c_int;

src/unix/bsd/freebsdlike/freebsd.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
pub const PTHREAD_STACK_MIN: ::size_t = 2048;
22
pub const KERN_PROC_PATHNAME: ::c_int = 12;
3-
pub const SIGSTKSZ: ::size_t = 2048 /* MINSIGSTKSZ */ + 32768;
3+
pub const SIGSTKSZ: ::size_t = 34816;
44

55
extern {
66
pub fn __error() -> *mut ::c_int;

0 commit comments

Comments
 (0)