File tree Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -62,9 +62,10 @@ cfg_if! {
6262 if #[ cfg( any( unix, target_os = "redox" ) ) ] {
6363 // On unix we'll document what's already available
6464 pub use self :: ext as unix_ext;
65- } else if #[ cfg( target_arch = "wasm32" ) ] {
66- // On wasm right now the module below doesn't compile (missing things
67- // in `libc` which is empty) so just omit everything with an empty module
65+ } else if #[ cfg( any( target_os = "cloudabi" , target_arch = "wasm32" ) ) ] {
66+ // On CloudABI and wasm right now the module below doesn't compile
67+ // (missing things in `libc` which is empty) so just omit everything
68+ // with an empty module
6869 #[ unstable( issue = "0" , feature = "std_internals" ) ]
6970 pub mod unix_ext { }
7071 } else {
@@ -80,8 +81,9 @@ cfg_if! {
8081 if #[ cfg( windows) ] {
8182 // On windows we'll just be documenting what's already available
8283 pub use self :: ext as windows_ext;
83- } else if #[ cfg( target_arch = "wasm32" ) ] {
84- // On wasm right now the shim below doesn't compile, so just omit it
84+ } else if #[ cfg( any( target_os = "cloudabi" , target_arch = "wasm32" ) ) ] {
85+ // On CloudABI and wasm right now the shim below doesn't compile, so
86+ // just omit it
8587 #[ unstable( issue = "0" , feature = "std_internals" ) ]
8688 pub mod windows_ext { }
8789 } else {
You can’t perform that action at this time.
0 commit comments