Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 28ee12d

Browse files
committedNov 20, 2018
wip
1 parent af4f85f commit 28ee12d

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed
 

‎Cargo.toml

+7
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
cargo-features = ['rename-dependency']
2+
13
[package]
24
name = "dlmalloc"
35
version = "0.1.0"
@@ -10,6 +12,10 @@ test = false
1012
[target.'cfg(all(unix, not(target_arch = "wasm32")))'.dependencies]
1113
libc = { version = "0.2", default-features = false }
1214

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+
1319
[dev-dependencies]
1420
rand = "0.3"
1521

@@ -19,3 +25,4 @@ debug-assertions = true
1925
[features]
2026
debug = []
2127
allocator-api = []
28+
rustc-dep-of-std = ['core', 'compiler_builtins/rustc-dep-of-std']

0 commit comments

Comments
 (0)
Please sign in to comment.