From 8aa98e02f81ecbe64b73b8504f2fb9f9bacf50f0 Mon Sep 17 00:00:00 2001 From: benluelo Date: Thu, 3 Apr 2025 18:28:36 +0100 Subject: [PATCH] fix: include dlmalloc when target_os = "none" --- library/std/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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]