Skip to content

Commit

Permalink
Bump to a custom compiler builtins version
Browse files Browse the repository at this point in the history
  • Loading branch information
tgross35 committed Jul 18, 2024
1 parent 7947992 commit cc93eac
Show file tree
Hide file tree
Showing 10 changed files with 28 additions and 3 deletions.
5 changes: 2 additions & 3 deletions Cargo.lock
Original file line number Diff line number Diff line change
Expand Up @@ -794,9 +794,8 @@ checksum = "55b672471b4e9f9e95499ea597ff64941a309b2cdbffcc46f2cc5e2d971fd335"

[[package]]
name = "compiler_builtins"
version = "0.1.112"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b15acab2bb4fe4dad1f1e31f3d9e714f50ef561a0f87dd8a9da004f14d455e1a"
version = "0.1.113"
source = "git+https://github.com/tgross35/compiler-builtins.git?branch=android-testing#42538d8077cb3e2e86ccd4b73266b8f352af3f77"
dependencies = [
"cc",
"rustc-std-workspace-core",
Expand Down
1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -115,3 +115,4 @@ strip = true
rustc-std-workspace-core = { path = 'library/rustc-std-workspace-core' }
rustc-std-workspace-alloc = { path = 'library/rustc-std-workspace-alloc' }
rustc-std-workspace-std = { path = 'library/rustc-std-workspace-std' }
compiler_builtins = { git = "https://github.com/tgross35/compiler-builtins.git", branch = "android-testing"}
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,7 @@ rustc-std-workspace-std = { path = "./sysroot_src/library/rustc-std-workspace-st
[profile.release]
debug = "limited"
#lto = "fat" # TODO(antoyo): re-enable when the failing LTO tests regarding proc-macros are fixed.


[patch.crates-io]
compiler_builtins = { git = "https://github.com/tgross35/compiler-builtins.git", branch = "android-testing" }
3 changes: 3 additions & 0 deletions library/alloc/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -56,3 +56,6 @@ check-cfg = [
'cfg(no_rc)',
'cfg(no_sync)',
]

[patch.crates-io]
compiler_builtins = { git = "https://github.com/tgross35/compiler-builtins.git", branch = "android-testing"}
3 changes: 3 additions & 0 deletions library/panic_abort/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,6 @@ compiler_builtins = "0.1.0"

[target.'cfg(not(all(windows, target_env = "msvc")))'.dependencies]
libc = { version = "0.2", default-features = false }

[patch.crates-io]
compiler_builtins = { git = "https://github.com/tgross35/compiler-builtins.git", branch = "android-testing"}
3 changes: 3 additions & 0 deletions library/panic_unwind/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,6 @@ cfg-if = { version = "1.0", features = ['rustc-dep-of-std'] }

[target.'cfg(not(all(windows, target_env = "msvc")))'.dependencies]
libc = { version = "0.2", default-features = false }

[patch.crates-io]
compiler_builtins = { git = "https://github.com/tgross35/compiler-builtins.git", branch = "android-testing"}
3 changes: 3 additions & 0 deletions library/portable-simd/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,6 @@ members = [
"crates/std_float",
"crates/test_helpers",
]

[patch.crates-io]
compiler_builtins = { git = "https://github.com/tgross35/compiler-builtins.git", branch = "android-testing"}
3 changes: 3 additions & 0 deletions library/profiler_builtins/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,6 @@ compiler_builtins = { version = "0.1.0", features = ['rustc-dep-of-std'] }

[build-dependencies]
cc = "1.0.97"

[patch.crates-io]
compiler_builtins = { git = "https://github.com/tgross35/compiler-builtins.git", branch = "android-testing"}
3 changes: 3 additions & 0 deletions library/std/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -112,3 +112,6 @@ check-cfg = [
# of declared features, we therefor expect any feature cfg
'cfg(feature, values(any()))',
]

[patch.crates-io]
compiler_builtins = { git = "https://github.com/tgross35/compiler-builtins.git", branch = "android-testing"}
3 changes: 3 additions & 0 deletions library/unwind/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -34,3 +34,6 @@ llvm-libunwind = []
# If crt-static is enabled, static link to `libunwind.a` provided by system
# If crt-static is disabled, dynamic link to `libunwind.so` provided by system
system-llvm-libunwind = []

[patch.crates-io]
compiler_builtins = { git = "https://github.com/tgross35/compiler-builtins.git", branch = "android-testing"}

0 comments on commit cc93eac

Please sign in to comment.