Skip to content

Commit f6d2f2d

Browse files
committed
Bump to a custom compiler builtins version
1 parent 70481fa commit f6d2f2d

File tree

10 files changed

+28
-3
lines changed

10 files changed

+28
-3
lines changed

Cargo.lock

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -800,9 +800,8 @@ checksum = "55b672471b4e9f9e95499ea597ff64941a309b2cdbffcc46f2cc5e2d971fd335"
800800

801801
[[package]]
802802
name = "compiler_builtins"
803-
version = "0.1.112"
804-
source = "registry+https://github.com/rust-lang/crates.io-index"
805-
checksum = "b15acab2bb4fe4dad1f1e31f3d9e714f50ef561a0f87dd8a9da004f14d455e1a"
803+
version = "0.1.113"
804+
source = "git+https://github.com/tgross35/compiler-builtins.git?branch=android-testing#42538d8077cb3e2e86ccd4b73266b8f352af3f77"
806805
dependencies = [
807806
"cc",
808807
"rustc-std-workspace-core",

Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,3 +111,4 @@ strip = true
111111
rustc-std-workspace-core = { path = 'library/rustc-std-workspace-core' }
112112
rustc-std-workspace-alloc = { path = 'library/rustc-std-workspace-alloc' }
113113
rustc-std-workspace-std = { path = 'library/rustc-std-workspace-std' }
114+
compiler_builtins = { git = "https://github.com/tgross35/compiler-builtins.git", branch = "android-testing"}

compiler/rustc_codegen_gcc/build_sysroot/Cargo.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,3 +20,7 @@ rustc-std-workspace-std = { path = "./sysroot_src/library/rustc-std-workspace-st
2020
[profile.release]
2121
debug = true
2222
#lto = "fat" # TODO(antoyo): re-enable when the failing LTO tests regarding proc-macros are fixed.
23+
24+
25+
[patch.crates-io]
26+
compiler_builtins = { git = "https://github.com/tgross35/compiler-builtins.git", branch = "android-testing" }

library/alloc/Cargo.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,3 +56,6 @@ check-cfg = [
5656
'cfg(no_rc)',
5757
'cfg(no_sync)',
5858
]
59+
60+
[patch.crates-io]
61+
compiler_builtins = { git = "https://github.com/tgross35/compiler-builtins.git", branch = "android-testing"}

library/panic_abort/Cargo.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,3 +19,6 @@ compiler_builtins = "0.1.0"
1919

2020
[target.'cfg(not(all(windows, target_env = "msvc")))'.dependencies]
2121
libc = { version = "0.2", default-features = false }
22+
23+
[patch.crates-io]
24+
compiler_builtins = { git = "https://github.com/tgross35/compiler-builtins.git", branch = "android-testing"}

library/panic_unwind/Cargo.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,3 +20,6 @@ cfg-if = { version = "1.0", features = ['rustc-dep-of-std'] }
2020

2121
[target.'cfg(not(all(windows, target_env = "msvc")))'.dependencies]
2222
libc = { version = "0.2", default-features = false }
23+
24+
[patch.crates-io]
25+
compiler_builtins = { git = "https://github.com/tgross35/compiler-builtins.git", branch = "android-testing"}

library/portable-simd/Cargo.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,6 @@ members = [
55
"crates/std_float",
66
"crates/test_helpers",
77
]
8+
9+
[patch.crates-io]
10+
compiler_builtins = { git = "https://github.com/tgross35/compiler-builtins.git", branch = "android-testing"}

library/profiler_builtins/Cargo.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,3 +14,6 @@ compiler_builtins = { version = "0.1.0", features = ['rustc-dep-of-std'] }
1414

1515
[build-dependencies]
1616
cc = "1.0.97"
17+
18+
[patch.crates-io]
19+
compiler_builtins = { git = "https://github.com/tgross35/compiler-builtins.git", branch = "android-testing"}

library/std/Cargo.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,3 +108,6 @@ check-cfg = [
108108
# of declared features, we therefor expect any feature cfg
109109
'cfg(feature, values(any()))',
110110
]
111+
112+
[patch.crates-io]
113+
compiler_builtins = { git = "https://github.com/tgross35/compiler-builtins.git", branch = "android-testing"}

library/unwind/Cargo.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,3 +34,6 @@ llvm-libunwind = []
3434
# If crt-static is enabled, static link to `libunwind.a` provided by system
3535
# If crt-static is disabled, dynamic link to `libunwind.so` provided by system
3636
system-llvm-libunwind = []
37+
38+
[patch.crates-io]
39+
compiler_builtins = { git = "https://github.com/tgross35/compiler-builtins.git", branch = "android-testing"}

0 commit comments

Comments
 (0)