Skip to content
Snippets Groups Projects
Commit 21503efa authored by Yu Ding's avatar Yu Ding
Browse files

Add essential target_vendor check for sgx


Signed-off-by: default avatarYu Ding <dingelish@gmail.com>
parent 920ee0f1
No related branches found
No related tags found
No related merge requests found
...@@ -109,7 +109,7 @@ cfg_if! { ...@@ -109,7 +109,7 @@ cfg_if! {
} else if #[cfg(target_os = "hermit")] { } else if #[cfg(target_os = "hermit")] {
mod hermit; mod hermit;
pub use hermit::*; pub use hermit::*;
} else if #[cfg(target_env = "sgx")] { } else if #[cfg(all(target_env = "sgx", target_vendor = "fortanix"))] {
mod sgx; mod sgx;
pub use sgx::*; pub use sgx::*;
} else { } else {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment