File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ fastrand = "2.1.1"
23
23
once_cell = { version = " 1.19.0" , default-features = false , features = [" std" ] }
24
24
25
25
[target .'cfg(any(unix, target_os = "wasi"))' .dependencies ]
26
- rustix = { version = " 0.38.37 " , features = [" fs" ] }
26
+ rustix = { version = " 0.38.39 " , features = [" fs" ] }
27
27
28
28
[target .'cfg(windows)' .dependencies .windows-sys ]
29
29
version = " >=0.52,<=0.59"
Original file line number Diff line number Diff line change
1
+ // wasip2 conditionally gates stdlib APIs.
2
+ // https://github.com/rust-lang/rust/issues/130323
3
+ #![ cfg_attr( all( target_os = "wasi" , target_env = "p2" ) , feature( wasip2) ) ]
1
4
//! Temporary files and directories.
2
5
//!
3
6
//! - Use the [`tempfile()`] function for temporary files
You can’t perform that action at this time.
0 commit comments