Add essential target_vendor check for sgx
Signed-off-by: Yu Ding <dingelish@gmail.com>
This commit is contained in:
parent
920ee0f162
commit
21503efac3
@ -109,7 +109,7 @@ cfg_if! {
|
||||
} else if #[cfg(target_os = "hermit")] {
|
||||
mod hermit;
|
||||
pub use hermit::*;
|
||||
} else if #[cfg(target_env = "sgx")] {
|
||||
} else if #[cfg(all(target_env = "sgx", target_vendor = "fortanix"))] {
|
||||
mod sgx;
|
||||
pub use sgx::*;
|
||||
} else {
|
||||
|
Loading…
x
Reference in New Issue
Block a user