File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -65,7 +65,7 @@ cfg_if! {
6565 if #[ cfg( any( unix, target_os = "redox" ) ) ] {
6666 // On unix we'll document what's already available
6767 pub use self :: ext as unix_ext;
68- } else if #[ cfg( any( target_os = "cloudabi" , target_arch = "wasm32" ) ) ] {
68+ } else if #[ cfg( any( target_os = "cloudabi" , target_arch = "wasm32" , target_env = "sgx" ) ) ] {
6969 // On CloudABI and wasm right now the module below doesn't compile
7070 // (missing things in `libc` which is empty) so just omit everything
7171 // with an empty module
@@ -86,7 +86,7 @@ cfg_if! {
8686 // On windows we'll just be documenting what's already available
8787 #[ allow( missing_docs) ]
8888 pub use self :: ext as windows_ext;
89- } else if #[ cfg( any( target_os = "cloudabi" , target_arch = "wasm32" ) ) ] {
89+ } else if #[ cfg( any( target_os = "cloudabi" , target_arch = "wasm32" , target_env = "sgx" ) ) ] {
9090 // On CloudABI and wasm right now the shim below doesn't compile, so
9191 // just omit it
9292 #[ unstable( issue = "0" , feature = "std_internals" ) ]
You can’t perform that action at this time.
0 commit comments