Skip to content

Commit c63c7ba

Browse files
author
Jethro Beekman
committed
Fix SGX docs build
1 parent 06eecbf commit c63c7ba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

std/src/os/fd/owned.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ use crate::fmt;
88
use crate::fs;
99
use crate::marker::PhantomData;
1010
use crate::mem::forget;
11-
#[cfg(not(target_os = "wasi"))]
11+
#[cfg(not(any(target_os = "wasi", target_env = "sgx")))]
1212
use crate::sys::cvt;
1313
use crate::sys_common::{AsInner, FromInner, IntoInner};
1414

0 commit comments

Comments
 (0)