Update compiler_builtins to 0.1.114#125016
Conversation
|
rustbot has assigned @Mark-Simulacrum. Use |
|
These commits modify the If this was unintentional then you should revert the changes before this PR is merged. |
This comment has been minimized.
This comment has been minimized.
c6f9dc1 to
2bfbcfd
Compare
2bfbcfd to
8b2ef5f
Compare
|
Some changes occurred in compiler/rustc_codegen_gcc Some changes occurred in compiler/rustc_codegen_cranelift cc @bjorn3 |
This comment has been minimized.
This comment has been minimized.
|
There exist also #124886 |
|
Was this closed intentionally? |
|
Oh wow, sorry didn't realize, no it wasn't on purpose! |
This comment has been minimized.
This comment has been minimized.
|
☔ The latest upstream changes (presumably #125074) made this pull request unmergeable. Please resolve the merge conflicts. |
|
Note that #124886 does the same thing |
|
A rebase should fix the CI failure now that #123816 has been merged. |
8b2ef5f to
e4f7d1c
Compare
This comment has been minimized.
This comment has been minimized.
|
It appears the CI failure is being caused by the bootstrap stage0 compiler. I guess it won't succeed until #123816 reaches stage0 then. |
|
Makes sense. Is the |
|
Everything for f16/f128 needs to be turned off for the GCC and cranelift backends until they gain support (tracked at the issues at the bottom of this list #116909 (comment)). These types should stay enabled for the default LLVM backend, though. |
I'll ask on Zulip if we might be able to backport that to unblock these updates |
Print the tested value in int_log tests Tiny change - from the failures in rust-lang/rust#125016, it would have been nice to see what the tested values were. Update the assertion messages.
[experiment] try fixing compiler_builtins android bug rust-lang#125016 has android bugs, try patching in fixes from rust-lang/compiler-builtins#640. try-job: arm-android r? `@ghost`
[experiment] try fixing compiler_builtins android bug rust-lang#125016 has android bugs, try patching in fixes from rust-lang/compiler-builtins#640. try-job: arm-android try-job: dist-android r? `@ghost`
|
@nicholasbishop there is another new release of builtins that should hopefully fix the android issue, 0.1.114. Could you update this? |
The `weak-intrinsics` feature was removed from compiler_builtins in rust-lang/compiler-builtins#598, so dropped the `compiler-builtins-weak-intrinsics` feature from alloc/std/sysroot. In rust-lang/compiler-builtins#593, some builtins for f16/f128 were added. These don't work for all compiler backends, so add a `compiler-builtins-no-f16-f128` feature and disable it for cranelift and gcc. Also disable it for LLVM targets that don't support it.
|
Thanks for the quick change, hopefully this one works. @bors r+ |
|
☀️ Test successful - checks-actions |
|
Finished benchmarking commit (80d8270): comparison URL. Overall result: ❌✅ regressions and improvements - no action needed@rustbot label: -perf-regression Instruction countThis is a highly reliable metric that was used to determine the overall result at the top of this comment.
Max RSS (memory usage)Results (primary 2.9%, secondary 3.3%)This is a less reliable metric that may be of interest but was not used to determine the overall result at the top of this comment.
CyclesThis benchmark run did not return any relevant results for this metric. Binary sizeResults (primary 0.0%)This is a less reliable metric that may be of interest but was not used to determine the overall result at the top of this comment.
Bootstrap: 768.947s -> 770.31s (0.18%) |
|
I think something in this PR might be broken with regard to whether the f16/f128 builtins are being generated. I have downloaded https://ci-artifacts.rust-lang.org/rustc-builds/80d8270d8488957f62fbf0df7a19dfe596be92ac/rust-std-nightly-x86_64-unknown-linux-gnu.tar.xz And ran I would have expected to see the f16 & f128 symbols there. Running a
Note the Commenting out [target.'cfg(not(any(target_arch = "aarch64", target_arch = "x86", target_arch = "x86_64")))'.dependencies]
compiler_builtins = { version = "0.1.114", features = ["no-f16-f128"] }Does produce a |
|
@TimNN thanks for reporting that, asking about it on Zulip https://rust-lang.zulipchat.com/#narrow/stream/246057-t-cargo/topic/Enabling.20features.20on.20specific.20targets. |
This comment was marked as duplicate.
This comment was marked as duplicate.
|
Actually let's move discussion to a new issue, opened #128358. |
|
This has also exposed rust-lang/compiler-builtins#653 |
The
weak-intrinsicsfeature was removed from compiler_builtins in rust-lang/compiler-builtins#598, so dropped thecompiler-builtins-weak-intrinsicsfeature from alloc/std/sysroot.In rust-lang/compiler-builtins#593, some builtins for f16/f128 were added. These don't work for all compiler backends, so add a
compiler-builtins-no-f16-f128feature and disable it for cranelift and gcc.