Skip to content

Commit 62ffb30

Browse files
authored
Rollup merge of #78209 - JohnTitor:compiler-builtins, r=Amanieu
Update `compiler_builtins` to 0.1.36 So, the libc build with cargo's `build-std` feature emits a lot of warnings like: ``` warning: a method with this name may be added to the standard library in the future --> /home/runner/.cargo/registry/src/github.com-1ecc6299db9ec823/compiler_builtins-0.1.35/src/int/udiv.rs:98:23 | 98 | q = n << (<$ty>::BITS - sr); | ^^^^^^^^^^^ ... 268 | udivmod_inner!(n, d, rem, u128) | ------------------------------- in this macro invocation | = warning: once this method is added to the standard library, the ambiguity may cause an error or change in behavior! = note: for more information, see issue #48919 </issues/48919> = help: call with fully qualified syntax `Int::BITS(...)` to keep using the current method = help: add `#![feature(int_bits_const)]` to the crate attributes to enable `num::<impl u128>::BITS` = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) ``` (You can find the full log in https://github.com/rust-lang/libc/runs/1283695796?check_suite_focus=true for example.) 0.1.36 contains rust-lang/compiler-builtins#332 so this version should remove this warning. cc rust-lang/libc#1942
2 parents db12963 + 3a58ad9 commit 62ffb30

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Cargo.lock

+2-2
Original file line numberDiff line numberDiff line change
@@ -626,9 +626,9 @@ dependencies = [
626626

627627
[[package]]
628628
name = "compiler_builtins"
629-
version = "0.1.35"
629+
version = "0.1.36"
630630
source = "registry+https://github.com/rust-lang/crates.io-index"
631-
checksum = "e3fcd8aba10d17504c87ef12d4f62ef404c6a4703d16682a9eb5543e6cf24455"
631+
checksum = "7cd0782e0a7da7598164153173e5a5d4d9b1da094473c98dce0ff91406112369"
632632
dependencies = [
633633
"cc",
634634
"rustc-std-workspace-core",

0 commit comments

Comments
 (0)