File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed
Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -17,8 +17,8 @@ wasmtime-environ = { workspace = true }
1717wasmtime-versioned-export-macros = { workspace = true }
1818
1919[target .'cfg(unix)' .dependencies ]
20- rustix = { workspace = true , features = [" mm" ] }
21- libc = { workspace = true }
20+ rustix = { workspace = true , optional = true , features = [" mm" ] }
21+ libc = { workspace = true , optional = true }
2222
2323[target .'cfg(windows)' .dependencies .windows-sys ]
2424workspace = true
@@ -38,4 +38,4 @@ backtrace = "0.3.68"
3838
3939# Assume presence of the standard library. Allows propagating
4040# panic-unwinds across fiber invocations.
41- std = []
41+ std = [" dep:libc " , " dep:rustix " ]
Original file line number Diff line number Diff line change 77
88#![ no_std]
99
10- #[ cfg( any ( feature = "std" , unix , windows ) ) ]
10+ #[ cfg( feature = "std" ) ]
1111#[ macro_use]
1212extern crate std;
1313extern crate alloc;
Original file line number Diff line number Diff line change @@ -265,7 +265,6 @@ runtime = [
265265 " dep:cc" ,
266266 " dep:smallvec" ,
267267 " dep:mach2" ,
268- " dep:memfd" ,
269268 " dep:wasmtime-versioned-export-macros" ,
270269 " dep:windows-sys" ,
271270 " pulley-interpreter/interp" ,
@@ -347,6 +346,7 @@ std = [
347346 ' pulley-interpreter/std' ,
348347 ' wasmtime-core/std' ,
349348 ' addr2line?/std' ,
349+ " dep:memfd" ,
350350 " dep:rustix" ,
351351 " wasmtime-jit-icache-coherence" ,
352352 " wasmtime-jit-debug?/std" ,
You can’t perform that action at this time.
0 commit comments