Skip to content

Commit 50bc03d

Browse files
committed
Auto merge of #643 - mneumann:fix-dragonfly-pthread-stack-min, r=alexcrichton
DragonFly - Change PTHREAD_STACK_MIN from 1 to 16k This is probably related to cargo failing on DragonFly when running with multiple jobs. The minimum pthread stack size has been increase as shown here [1], which was needed to fix nodejs. [1]: http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/592912cde1dc358bf080ae9aff3eca491688f47c
2 parents 44034f0 + 9fe906c commit 50bc03d

File tree

1 file changed

+1
-1
lines changed
  • src/unix/bsd/freebsdlike/dragonfly

1 file changed

+1
-1
lines changed

src/unix/bsd/freebsdlike/dragonfly/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ s! {
134134
}
135135

136136
pub const RAND_MAX: ::c_int = 0x7fff_ffff;
137-
pub const PTHREAD_STACK_MIN: ::size_t = 1024;
137+
pub const PTHREAD_STACK_MIN: ::size_t = 16384;
138138
pub const SIGSTKSZ: ::size_t = 40960;
139139
pub const MADV_INVAL: ::c_int = 10;
140140
pub const O_CLOEXEC: ::c_int = 0x00020000;

0 commit comments

Comments
 (0)