diff --git a/src/libstd/Cargo.toml b/src/libstd/Cargo.toml index c1446218367..9c2c1cab015 100644 --- a/src/libstd/Cargo.toml +++ b/src/libstd/Cargo.toml @@ -18,7 +18,7 @@ panic_unwind = { path = "../libpanic_unwind", optional = true } panic_abort = { path = "../libpanic_abort" } core = { path = "../libcore" } libc = { path = "../rustc/libc_shim" } -compiler_builtins = { path = "../rustc/compiler_builtins_shim" } +compiler_builtins = { path = "../rustc/compiler_builtins_shim", features = ["c"] } profiler_builtins = { path = "../libprofiler_builtins", optional = true } unwind = { path = "../libunwind" } diff --git a/src/rustc/compiler_builtins_shim/Cargo.toml b/src/rustc/compiler_builtins_shim/Cargo.toml index 7d8423ca84e..9804177280f 100644 --- a/src/rustc/compiler_builtins_shim/Cargo.toml +++ b/src/rustc/compiler_builtins_shim/Cargo.toml @@ -34,7 +34,7 @@ cc = "1.0.1" [features] c = [] -default = ["c", "rustbuild", "compiler-builtins"] +default = ["rustbuild", "compiler-builtins"] mem = [] rustbuild = [] compiler-builtins = []