@@ -20,8 +20,12 @@ core = { path = "../core", public = true }
2020compiler_builtins = { version = " 0.1.105" }
2121profiler_builtins = { path = " ../profiler_builtins" , optional = true }
2222unwind = { path = " ../unwind" }
23- hashbrown = { version = " 0.14" , default-features = false , features = [' rustc-dep-of-std' ] }
24- std_detect = { path = " ../stdarch/crates/std_detect" , default-features = false , features = [' rustc-dep-of-std' ] }
23+ hashbrown = { version = " 0.14" , default-features = false , features = [
24+ ' rustc-dep-of-std' ,
25+ ] }
26+ std_detect = { path = " ../stdarch/crates/std_detect" , default-features = false , features = [
27+ ' rustc-dep-of-std' ,
28+ ] }
2529
2630# Dependencies of the `backtrace` crate
2731rustc-demangle = { version = " 0.1.24" , features = [' rustc-dep-of-std' ] }
@@ -31,13 +35,27 @@ miniz_oxide = { version = "0.7.0", optional = true, default-features = false }
3135addr2line = { version = " 0.22.0" , optional = true , default-features = false }
3236
3337[target .'cfg(not(all(windows, target_env = "msvc")))' .dependencies ]
34- libc = { version = " 0.2.153" , default-features = false , features = [' rustc-dep-of-std' ], public = true }
38+ libc = { version = " 0.2.153" , default-features = false , features = [
39+ ' rustc-dep-of-std' ,
40+ ], public = true }
3541
3642[target .'cfg(all(not(target_os = "aix"), not(all(windows, target_env = "msvc", not(target_vendor = "uwp")))))' .dependencies ]
37- object = { version = " 0.36.0" , default-features = false , optional = true , features = [' read_core' , ' elf' , ' macho' , ' pe' , ' unaligned' , ' archive' ] }
43+ object = { version = " 0.36.0" , default-features = false , optional = true , features = [
44+ ' read_core' ,
45+ ' elf' ,
46+ ' macho' ,
47+ ' pe' ,
48+ ' unaligned' ,
49+ ' archive' ,
50+ ] }
3851
3952[target .'cfg(target_os = "aix")' .dependencies ]
40- object = { version = " 0.36.0" , default-features = false , optional = true , features = [' read_core' , ' xcoff' , ' unaligned' , ' archive' ] }
53+ object = { version = " 0.36.0" , default-features = false , optional = true , features = [
54+ ' read_core' ,
55+ ' xcoff' ,
56+ ' unaligned' ,
57+ ' archive' ,
58+ ] }
4159
4260[dev-dependencies ]
4361rand = { version = " 0.8.5" , default-features = false , features = [" alloc" ] }
@@ -47,23 +65,29 @@ rand_xorshift = "0.3.0"
4765dlmalloc = { version = " 0.2.4" , features = [' rustc-dep-of-std' ] }
4866
4967[target .x86_64-fortanix-unknown-sgx .dependencies ]
50- fortanix-sgx-abi = { version = " 0.5.0" , features = [' rustc-dep-of-std' ], public = true }
68+ fortanix-sgx-abi = { version = " 0.5.0" , features = [
69+ ' rustc-dep-of-std' ,
70+ ], public = true }
5171
5272[target .'cfg(target_os = "hermit")' .dependencies ]
53- hermit-abi = { version = " 0.4.0" , features = [' rustc-dep-of-std' ], public = true }
73+ hermit-abi = { version = " 0.4.0" , features = [
74+ ' rustc-dep-of-std' ,
75+ ], public = true }
5476
5577[target .'cfg(target_os = "wasi")' .dependencies ]
56- wasi = { version = " 0.11.0" , features = [' rustc-dep-of-std' ], default-features = false }
78+ wasi = { version = " 0.11.0" , features = [
79+ ' rustc-dep-of-std' ,
80+ ], default-features = false }
5781
5882[target .'cfg(target_os = "uefi")' .dependencies ]
59- r-efi = { version = " 4.2 .0" , features = [' rustc-dep-of-std' ] }
83+ r-efi = { version = " 4.5 .0" , features = [' rustc-dep-of-std' ] }
6084r-efi-alloc = { version = " 1.0.0" , features = [' rustc-dep-of-std' ] }
6185
6286[features ]
6387backtrace = [
64- ' addr2line/rustc-dep-of-std' ,
65- ' object/rustc-dep-of-std' ,
66- ' miniz_oxide/rustc-dep-of-std' ,
88+ ' addr2line/rustc-dep-of-std' ,
89+ ' object/rustc-dep-of-std' ,
90+ ' miniz_oxide/rustc-dep-of-std' ,
6791]
6892
6993panic-unwind = [" panic_unwind" ]
@@ -77,7 +101,10 @@ llvm-libunwind = ["unwind/llvm-libunwind"]
77101system-llvm-libunwind = [" unwind/system-llvm-libunwind" ]
78102
79103# Make panics and failed asserts immediately abort without formatting any message
80- panic_immediate_abort = [" core/panic_immediate_abort" , " alloc/panic_immediate_abort" ]
104+ panic_immediate_abort = [
105+ " core/panic_immediate_abort" ,
106+ " alloc/panic_immediate_abort" ,
107+ ]
81108# Choose algorithms that are optimized for binary size instead of runtime performance
82109optimize_for_size = [" core/optimize_for_size" , " alloc/optimize_for_size" ]
83110
@@ -97,6 +124,11 @@ threads = 125
97124# Maximum heap size
98125heap_size = 0x8000000
99126
127+ [[test ]]
128+ name = " pipe-subprocess"
129+ path = " tests/pipe_subprocess.rs"
130+ harness = false
131+
100132[[bench ]]
101133name = " stdbenches"
102134path = " benches/lib.rs"
0 commit comments