Skip to content

Commit 24b3a97

Browse files
committed
Rollup merge of #49503 - oli-obk:extern_crate_compiler_builtins, r=alexcrichton
Inject the `compiler_builtins` crate whenever the `core` crate is injected
2 parents 3e0b15f + 679657b commit 24b3a97

File tree

18 files changed

+57
-16
lines changed

18 files changed

+57
-16
lines changed

src/Cargo.lock

Lines changed: 14 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/liballoc/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ path = "lib.rs"
1010
[dependencies]
1111
core = { path = "../libcore" }
1212
std_unicode = { path = "../libstd_unicode" }
13+
compiler_builtins = { path = "../rustc/compiler_builtins_shim" }
1314

1415
[dev-dependencies]
1516
rand = "0.4"

src/liballoc_jemalloc/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ alloc = { path = "../liballoc" }
1616
alloc_system = { path = "../liballoc_system" }
1717
core = { path = "../libcore" }
1818
libc = { path = "../rustc/libc_shim" }
19+
compiler_builtins = { path = "../rustc/compiler_builtins_shim" }
1920

2021
[build-dependencies]
2122
build_helper = { path = "../build_helper" }

src/liballoc_system/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ doc = false
1313
alloc = { path = "../liballoc" }
1414
core = { path = "../libcore" }
1515
libc = { path = "../rustc/libc_shim" }
16+
compiler_builtins = { path = "../rustc/compiler_builtins_shim" }
1617

1718
# See comments in the source for what this dependency is
1819
[target.'cfg(all(target_arch = "wasm32", not(target_os = "emscripten")))'.dependencies]

src/libpanic_abort/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,3 +12,4 @@ doc = false
1212
[dependencies]
1313
core = { path = "../libcore" }
1414
libc = { path = "../rustc/libc_shim" }
15+
compiler_builtins = { path = "../rustc/compiler_builtins_shim" }

src/libpanic_unwind/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,3 +14,4 @@ alloc = { path = "../liballoc" }
1414
core = { path = "../libcore" }
1515
libc = { path = "../rustc/libc_shim" }
1616
unwind = { path = "../libunwind" }
17+
compiler_builtins = { path = "../rustc/compiler_builtins_shim" }

src/libprofiler_builtins/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ doc = false
1313

1414
[dependencies]
1515
core = { path = "../libcore" }
16+
compiler_builtins = { path = "../rustc/compiler_builtins_shim" }
1617

1718
[build-dependencies]
1819
cc = "1.0.1"

src/librustc_asan/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,3 +17,4 @@ cmake = "0.1.18"
1717
alloc = { path = "../liballoc" }
1818
alloc_system = { path = "../liballoc_system" }
1919
core = { path = "../libcore" }
20+
compiler_builtins = { path = "../rustc/compiler_builtins_shim" }

src/librustc_lsan/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,3 +17,4 @@ cmake = "0.1.18"
1717
alloc = { path = "../liballoc" }
1818
alloc_system = { path = "../liballoc_system" }
1919
core = { path = "../libcore" }
20+
compiler_builtins = { path = "../rustc/compiler_builtins_shim" }

src/librustc_msan/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,3 +17,4 @@ cmake = "0.1.18"
1717
alloc = { path = "../liballoc" }
1818
alloc_system = { path = "../liballoc_system" }
1919
core = { path = "../libcore" }
20+
compiler_builtins = { path = "../rustc/compiler_builtins_shim" }

0 commit comments

Comments
 (0)