1
Fork 0

Bound sgx target_env with fortanix as target_vendor

Signed-off-by: Yu Ding <dingelish@gmail.com>
This commit is contained in:
Yu Ding 2018-12-31 15:45:42 -08:00
parent 6efaef6189
commit d04f5208ba
6 changed files with 20 additions and 12 deletions

View file

@ -51,7 +51,7 @@ cfg_if! {
target_os = "l4re",
target_os = "redox",
all(target_arch = "wasm32", not(target_os = "emscripten")),
target_env = "sgx"))] {
all(target_vendor = "fortanix", target_env = "sgx")))] {
pub use sys::net;
} else {
pub mod net;