diff options
| author | Jethro Beekman <jethro@fortanix.com> | 2022-02-25 12:11:58 +0100 |
|---|---|---|
| committer | Jethro Beekman <jethro@fortanix.com> | 2022-02-25 12:12:37 +0100 |
| commit | 355d503acee3489b4e1e67f549142b71f7719c51 (patch) | |
| tree | 78d78ecb0c6e9a0204971dfbf2a1380dadf7b32a | |
| parent | 03c8ffaacb040a8753ef8e1accea701bc9f5be85 (diff) | |
| download | rust-355d503acee3489b4e1e67f549142b71f7719c51.tar.gz rust-355d503acee3489b4e1e67f549142b71f7719c51.zip | |
Fix SGX docs build
| -rw-r--r-- | library/std/src/os/fd/owned.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/library/std/src/os/fd/owned.rs b/library/std/src/os/fd/owned.rs index 71c660e7186..d72f9a2ff9c 100644 --- a/library/std/src/os/fd/owned.rs +++ b/library/std/src/os/fd/owned.rs @@ -8,7 +8,7 @@ use crate::fmt; use crate::fs; use crate::marker::PhantomData; use crate::mem::forget; -#[cfg(not(target_os = "wasi"))] +#[cfg(not(any(target_os = "wasi", target_env = "sgx")))] use crate::sys::cvt; use crate::sys_common::{AsInner, FromInner, IntoInner}; |
