rust: update to 1.79.0#21141
Conversation
|
I've rerun jobs now, server back online |
|
CI is green |
jeremyd2019
left a comment
There was a problem hiding this comment.
Should we consider #20651 at this point (minus the ci change) rather than this straight update? I'd like to figure out which PR to make suggestions on 😉
|
I want to keep the rust test branch open for testing (i.e. with the ci changes). So the question is what do we want to move here ? Everything ? |
|
I'd rather to push an update separately |
|
I think we would want these patches at least:
Also it would be a good opportunity to move the moving of the src files into Otherwise, the other PR only changes the check function and checkdepends. Those should be safe enough. |
ok. feel free to do it :) |
|
I'll do the suggested changes. |
|
@mati865 this release of Rust includes a contribution of yours : rust-lang/rust#121712 |
|
I am pretty sure I created the PR as a draft... or wanted to do so... |
I thought it's ok to merge, sorry 😁 |
The last two are already present in 1.79.0. Sorry for the mistake. |
The tests\ui\issues\issue-2214.rs test fails with undefined reference to `__sinl_internal' and other math functions. Mateusz Mikuła analyzed the issue and found that the root cause is this change in mingw-w64: mingw-w64/mingw-w64@a64c1f4 The error happens because Rust pulls in lgamma from libmingwex.a, which pulls in sin from libmsvcrt.a, which in turn tries to pull in __sinl_internal from libmingwex.a and fails because of how Rust links MinGW libs. The proposed fix was to add an extra "-lmingwex" after the second "-lmsvcrt" in https://github.com/rust-lang/rust/blob/aa6a697a1c75b0aa06954136f7641706edadc2be/compiler/rustc_target/src/spec/base/windows_gnu.rs#L30.
This matches what was already being done for the split docs package.
jeremyd2019
left a comment
There was a problem hiding this comment.
I think that's everything, with the possible exception of including the changes to the check function/checkdepends from #20651, which shouldn't hurt anything since they are never used by any automated process (such as msys2-autobuild)
|
LGTM |
Would that make it possible to bootstrap -gnullvm, or does the bootstrap require a native rustc for the target? |
|
Maybe it would be possible to hack it to cross compiler but proper bootstrap requires native build. |
No description provided.