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! {
65
65
if #[ cfg( any( unix, target_os = "redox" ) ) ] {
66
66
// On unix we'll document what's already available
67
67
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" ) ) ] {
69
69
// On CloudABI and wasm right now the module below doesn't compile
70
70
// (missing things in `libc` which is empty) so just omit everything
71
71
// with an empty module
@@ -86,7 +86,7 @@ cfg_if! {
86
86
// On windows we'll just be documenting what's already available
87
87
#[ allow( missing_docs) ]
88
88
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" ) ) ] {
90
90
// On CloudABI and wasm right now the shim below doesn't compile, so
91
91
// just omit it
92
92
#[ unstable( issue = "0" , feature = "std_internals" ) ]
You can’t perform that action at this time.
0 commit comments