-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
rust: update to 1.66.0 #14592
rust: update to 1.66.0 #14592
Conversation
Upstream bug: rust-lang/rust#105696 |
After removing git we now have: |
Somewhat related: rust-lang/rust@6cfa7ef ? |
Sorry, forgot to cross-link miri issue: rust-lang/rust#105816 |
Looks like my hack did the trick but hacks are pilling up... Dumb question: rust supports mingw, but is this this mingw or another one ? I never fully grasped the history of cygwin/msys/mingw. |
If we translate our subsystems to Rust's support then:
Git issue is related to the fact we have Cygwin git but Rust only tests using native Git for Windows. Miri issue I think affects all or most of the platforms. |
@jeremyd2019 do you think we want to keep bootstrapping hacks (AArch64 would require updating to even work)? |
I was just wondering, should there be a page for rust to document the differences and issues like python ? |
I haven't been paying very close attention to msys2 for a bit...
My only concern would be that the 'institutional knowledge' of how to bootstrap might get lost. It would be in the git history, but would whoever might need to try in the future think to look there? Hopefully, upstream will eventually get their bootstraps in order and the necessary hacks will be fewer in future |
They would "only" need to provide prebuilt binaries which was so far blocked on dependencies that didn't build on with |
merge? |
It builds so why not? |
I'm never sure with aarch64 :) let's see thanks! |
Was the patch force-updating the vendored crates lost somehow? Or does it need to be updated? |
Do you have full log? I can look into it tomorrow. |
ucrt64 failed in autobuild (two times):
|
Was |
Yes, the ucrt64 builder installs the |
Alternatively we could disable git detection in Rust's build, it doesn't like UNIX style paths served by emulated Git.
Looks like it haven't used vendored dependencies. |
I wonder if |
Build process calls |
Might be a problem on arm too, my runner has some more packages installed than the clean-from-scratch runners, and I think git is there... |
It did. |
@mati865 let me know if you need me to test any patches on arm64. I think the issue would happen to any |
On the initial test it seems to work but I need to do some digging. Do you have |
No special env vars like that defined. But there is a |
same error as before in the new run https://github.com/msys2-arm/msys2-autobuild/actions/runs/3774413905/jobs/6416495264?check_suite_focus=true |
Couldn't reproduce but noticed that |
Reverted for now, to unblock the build queue. |
There is only one command after copying |
|
|
The bash array _rust_conf was being used as a 'scalar' (for lack of a better term), resulting in only the first item being interpolated, losing the `--enable-vendor` option necessary for a -gnullvm target to build due to necessary patches to the vendored sources. Currently, only clangarm64 uses a gnullvm target, so it was the only one affected. Addresses msys2#14592 (comment)
that seems to have been it. I put in #14777 that reverts the revert and fixes the usage of |
Oh, nice catch. |
No description provided.