File tree Expand file tree Collapse file tree 8 files changed +2
-26
lines changed Expand file tree Collapse file tree 8 files changed +2
-26
lines changed Original file line number Diff line number Diff line change @@ -19,8 +19,7 @@ cfg_if::cfg_if! {
1919
2020 pub mod linux;
2121
22- #[ stable( feature = "wasi_ext_doc" , since = "1.35.0" ) ]
23- pub use crate :: sys:: wasi_ext as wasi;
22+ pub mod wasi;
2423
2524 pub mod windows;
2625 } else if #[ cfg( doc) ] {
Load Diff This file was deleted.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change 2525//! }
2626//! ```
2727
28+ #![ stable( feature = "rust1" , since = "1.0.0" ) ]
2829#![ deny( unsafe_op_in_unsafe_fn) ]
2930#![ doc( cfg( target_os = "wasi" ) ) ]
3031
Original file line number Diff line number Diff line change @@ -74,20 +74,3 @@ cfg_if::cfg_if! {
7474 pub mod c;
7575 }
7676}
77-
78- #[ cfg( doc) ]
79- #[ cfg( not( any(
80- target_os = "hermit" ,
81- all( target_arch = "wasm32" , not( target_os = "wasi" ) ) ,
82- all( target_vendor = "fortanix" , target_env = "sgx" )
83- ) ) ) ]
84- cfg_if:: cfg_if! {
85- if #[ cfg( target_os = "wasi" ) ] {
86- #[ stable( feature = "wasi_ext_doc" , since = "1.35.0" ) ]
87- pub use self :: ext as wasi_ext;
88- } else {
89- #[ path = "wasi/ext/mod.rs" ]
90- #[ stable( feature = "wasi_ext_doc" , since = "1.35.0" ) ]
91- pub mod wasi_ext;
92- }
93- }
Original file line number Diff line number Diff line change @@ -33,7 +33,6 @@ pub mod mutex;
3333pub mod net;
3434pub mod os;
3535pub use crate :: sys_common:: os_str_bytes as os_str;
36- pub mod ext;
3736#[ path = "../unix/path.rs" ]
3837pub mod path;
3938#[ path = "../unsupported/pipe.rs" ]
You can’t perform that action at this time.
0 commit comments