diff options
| author | Josh Stone <jistone@redhat.com> | 2023-06-15 15:56:00 -0700 |
|---|---|---|
| committer | Josh Stone <jistone@redhat.com> | 2023-06-15 15:56:00 -0700 |
| commit | 886085a4d567bc882038ce5ec8498c45b436412d (patch) | |
| tree | 254e7bed470e0829e49da4651399cc6fd05042fa /library/std | |
| parent | 114fb86ca08cfa6a99087e0f0bc264d03590dc37 (diff) | |
| download | rust-886085a4d567bc882038ce5ec8498c45b436412d.tar.gz rust-886085a4d567bc882038ce5ec8498c45b436412d.zip | |
std: only depend on dlmalloc for wasm*-unknown
It was already filtered out for emscripten, but wasi doesn't need dlmalloc either since it reuses `unix/alloc.rs`.
Diffstat (limited to 'library/std')
| -rw-r--r-- | library/std/Cargo.toml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/library/std/Cargo.toml b/library/std/Cargo.toml index e6b05183886..af74efa6bf8 100644 --- a/library/std/Cargo.toml +++ b/library/std/Cargo.toml @@ -38,7 +38,7 @@ features = ['read_core', 'elf', 'macho', 'pe', 'unaligned', 'archive'] rand = { version = "0.8.5", default-features = false, features = ["alloc"] } rand_xorshift = "0.3.0" -[target.'cfg(any(all(target_family = "wasm", not(target_os = "emscripten")), all(target_vendor = "fortanix", target_env = "sgx")))'.dependencies] +[target.'cfg(any(all(target_family = "wasm", target_os = "unknown"), all(target_vendor = "fortanix", target_env = "sgx")))'.dependencies] dlmalloc = { version = "0.2.3", features = ['rustc-dep-of-std'] } [target.x86_64-fortanix-unknown-sgx.dependencies] |
