File tree 1 file changed +7
-5
lines changed
1 file changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -62,9 +62,10 @@ cfg_if! {
62
62
if #[ cfg( any( unix, target_os = "redox" ) ) ] {
63
63
// On unix we'll document what's already available
64
64
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
68
69
#[ unstable( issue = "0" , feature = "std_internals" ) ]
69
70
pub mod unix_ext { }
70
71
} else {
@@ -80,8 +81,9 @@ cfg_if! {
80
81
if #[ cfg( windows) ] {
81
82
// On windows we'll just be documenting what's already available
82
83
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
85
87
#[ unstable( issue = "0" , feature = "std_internals" ) ]
86
88
pub mod windows_ext { }
87
89
} else {
You can’t perform that action at this time.
0 commit comments