We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent af4f85f commit 28ee12dCopy full SHA for 28ee12d
Cargo.toml
@@ -1,3 +1,5 @@
1
+cargo-features = ['rename-dependency']
2
+
3
[package]
4
name = "dlmalloc"
5
version = "0.1.0"
@@ -10,6 +12,10 @@ test = false
10
12
[target.'cfg(all(unix, not(target_arch = "wasm32")))'.dependencies]
11
13
libc = { version = "0.2", default-features = false }
14
15
+[dependencies]
16
+core = { version = '1.0.0', optional = true, package = 'rustc-std-workspace-core' }
17
+compiler_builtins = { version = '0.1.0', optional = true }
18
19
[dev-dependencies]
20
rand = "0.3"
21
@@ -19,3 +25,4 @@ debug-assertions = true
25
[features]
26
debug = []
27
allocator-api = []
28
+rustc-dep-of-std = ['core', 'compiler_builtins/rustc-dep-of-std']
0 commit comments