Skip to content

Commit cc93eac

Browse files
committed
Bump to a custom compiler builtins version
1 parent 7947992 commit cc93eac

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
@@ -794,9 +794,8 @@ checksum = "55b672471b4e9f9e95499ea597ff64941a309b2cdbffcc46f2cc5e2d971fd335"
794794

795795
[[package]]
796796
name = "compiler_builtins"
797-
version = "0.1.112"
798-
source = "registry+https://github.com/rust-lang/crates.io-index"
799-
checksum = "b15acab2bb4fe4dad1f1e31f3d9e714f50ef561a0f87dd8a9da004f14d455e1a"
797+
version = "0.1.113"
798+
source = "git+https://github.com/tgross35/compiler-builtins.git?branch=android-testing#42538d8077cb3e2e86ccd4b73266b8f352af3f77"
800799
dependencies = [
801800
"cc",
802801
"rustc-std-workspace-core",

Cargo.toml

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

compiler/rustc_codegen_gcc/build_system/build_sysroot/Cargo.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,3 +22,7 @@ rustc-std-workspace-std = { path = "./sysroot_src/library/rustc-std-workspace-st
2222
[profile.release]
2323
debug = "limited"
2424
#lto = "fat" # TODO(antoyo): re-enable when the failing LTO tests regarding proc-macros are fixed.
25+
26+
27+
[patch.crates-io]
28+
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
@@ -112,3 +112,6 @@ check-cfg = [
112112
# of declared features, we therefor expect any feature cfg
113113
'cfg(feature, values(any()))',
114114
]
115+
116+
[patch.crates-io]
117+
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)