-
-
Notifications
You must be signed in to change notification settings - Fork 14.5k
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
rustc: 1.64.0 -> 1.65.0 #199664
rustc: 1.64.0 -> 1.65.0 #199664
Conversation
Upstream is using llvm15, we should wait for #194634 |
I'm temporarily pulling in unmerged LLVM update into this PR for testing. |
Might want to take #199300 at the same time as it causes full rust crate rebuilds too (though ofborg seems to not think so?) |
If yours is ready, I'd put it on |
I can at best send a PR as I don't have commits rights. Feel free to do it yourself if you'd like. |
I don't have commit rights either, 🤞 your PR is reviewed soon. |
|
hey @oxalica , off topic, thank you for all the work on rust in nix, on NixCon I heard about nocargo project which is awesome! About the llvm compatibility, rust 1.65 should work on >=LLVM13, if I'm not mistaken rust upstream is not doing extensive testing on older LLVM versions, in past mismatched LLVM versions between nix and upstream caused some strange build and runtime issues in our monorepo which contains workspace with 80+ crates. That's the only argument I can provide, but sure LLVM14 should work just fine, maybe we can update afterwards. |
I was trying to build 763c18e and it seemed mostly successful. Unfortunately it didn't finish as a few packages appear to be hung:
However trying to build 137017341b809b8a0f01576849331cbafe756283 I am getting an eval error.
|
Ignore the previous version of this message, it was triggered by a NIx bug NixOS/nix#6572
|
I hope that error is resolved for you soon. It sounds painful from reading the issue. |
It seems to be triggering frequently on that version of this PR for some reason so I'm having trouble testing. Is there anything holding this back though? May make sense to dump it into stshung if we don't have any known issues. |
The main question I would need an owner to resolve is whether we want to track upstream's LLVM exactly. This is requested in a comment that, right now, is in If so, we need to wait for #194634 to land. If not, I can update this PR to do without that and create one to follow up when that's available. Without any owner opinion, I plan to wait for the LLVM update to land. I could not run nixpkgs-review, because it required too much disk space and time. However, I did build a large sample of the applications listed on https://github.com/rust-unofficial/awesome-rust in my aarch64-darwin machine and on an x86_64-Linux machine from GitHub Actions.
Edit: I built thunderbird successfully. My GitHub Actions runner terminated before firefox could finish, but it ran for quite awhile without any issues. |
I'd prefer using the current LLVM14 for now if #194634 cannot be merged in the near future. While rust 1.65.0, which is a big update, will be required for more and more crates targeting latest stable compiler, this PR would block all of them. |
I've been building the latest commit and it doesn't appear that there are any major breakages. I think it makes sense to move this into staging. |
Thanks, everyone. I've updated the commit to use LLVM 14 and extracted the deno fix into #201122. |
x86_64-linux: firefox built |
https://github.com/rust-lang/rust/releases/tag/1.65.0
I'm planning to run as many builds as I can to test this.
Things done
sandbox = true
set innix.conf
? (See Nix manual)nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD"
. Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/
)nixos/doc/manual/md-to-db.sh
to update generated release notes