diff --git a/library/std/Cargo.toml b/library/std/Cargo.toml index 176da603d58d7..a05866ebfe686 100644 --- a/library/std/Cargo.toml +++ b/library/std/Cargo.toml @@ -64,7 +64,7 @@ path = "../windows_targets" rand = { version = "0.9.0", default-features = false, features = ["alloc"] } rand_xorshift = "0.4.0" -[target.'cfg(any(all(target_family = "wasm", target_os = "unknown"), target_os = "xous", all(target_vendor = "fortanix", target_env = "sgx")))'.dependencies] +[target.'cfg(any(all(target_family = "wasm", any(target_os = "unknown", target_os = "none")), target_os = "xous", all(target_vendor = "fortanix", target_env = "sgx")))'.dependencies] dlmalloc = { version = "0.2.4", features = ['rustc-dep-of-std'] } [target.x86_64-fortanix-unknown-sgx.dependencies]