Skip to content

Commit 8aa98e0

Browse files
committed
fix: include dlmalloc when target_os = "none"
1 parent 946aea0 commit 8aa98e0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/std/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ path = "../windows_targets"
6464
rand = { version = "0.9.0", default-features = false, features = ["alloc"] }
6565
rand_xorshift = "0.4.0"
6666

67-
[target.'cfg(any(all(target_family = "wasm", target_os = "unknown"), target_os = "xous", all(target_vendor = "fortanix", target_env = "sgx")))'.dependencies]
67+
[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]
6868
dlmalloc = { version = "0.2.4", features = ['rustc-dep-of-std'] }
6969

7070
[target.x86_64-fortanix-unknown-sgx.dependencies]

0 commit comments

Comments
 (0)