Skip to content

Commit 2a5f445

Browse files
committed
Merge pull request rust-lang#82 from dignati/fix-bsd-stage2
Fix freebsd-likes stage2 build
2 parents 867c6ff + 6d6567c commit 2a5f445

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)