We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5c9f376 commit c48bde1Copy full SHA for c48bde1
library/std/src/sys/pal/unix/process/process_vxworks.rs
@@ -4,7 +4,6 @@ use crate::num::NonZero;
4
use crate::sys;
5
use crate::sys::cvt;
6
use crate::sys::process::process_common::*;
7
-use crate::sys_common::thread;
8
use libc::RTP_ID;
9
use libc::{self, c_char, c_int};
10
@@ -68,7 +67,7 @@ impl Command {
68
67
.as_ref()
69
.map(|c| c.as_ptr())
70
.unwrap_or_else(|| *sys::os::environ() as *const _);
71
- let stack_size = thread::min_stack();
+ let stack_size = libc::PTHREAD_STACK_MIN;
72
73
// ensure that access to the environment is synchronized
74
let _lock = sys::os::env_read_lock();
0 commit comments