Skip to content

Commit d605e1d

Browse files
committed
explicitly control compiler_builts/c feature from libstd
1 parent 0765eb9 commit d605e1d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/libstd/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ panic_unwind = { path = "../libpanic_unwind", optional = true }
1818
panic_abort = { path = "../libpanic_abort" }
1919
core = { path = "../libcore" }
2020
libc = { path = "../rustc/libc_shim" }
21-
compiler_builtins = { path = "../rustc/compiler_builtins_shim" }
21+
compiler_builtins = { path = "../rustc/compiler_builtins_shim", features = ["c"] }
2222
profiler_builtins = { path = "../libprofiler_builtins", optional = true }
2323
unwind = { path = "../libunwind" }
2424

src/rustc/compiler_builtins_shim/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ cc = "1.0.1"
3434

3535
[features]
3636
c = []
37-
default = ["c", "rustbuild", "compiler-builtins"]
37+
default = ["rustbuild", "compiler-builtins"]
3838
mem = []
3939
rustbuild = []
4040
compiler-builtins = []

0 commit comments

Comments
 (0)