Skip to content
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

Update the rust toolchain to nightly-2024-04-03 #3128

Conversation

tautschnig
Copy link
Member

@tautschnig tautschnig commented Apr 5, 2024

Changes required due to:

Resolves: #3130

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 and MIT licenses.

Changes required due to:
- rust-lang/rust@3da115a93b Add Ord::cmp for primitives as a BinOp in MIR

Resolves: #31XX
@github-actions github-actions bot added the Z-BenchCI Tag a PR to run benchmark CI label Apr 5, 2024
@tautschnig
Copy link
Member Author

The changes in this PR make Kani build with the 2024-04-03 toolchain, but compiletest then fails as we run into https://github.com/rust-lang/rust/blob/d009f60b55fe4527e7ddf122bc4520f351d7b9d4/compiler/stable_mir/src/mir/body.rs#L373 (i.e., an unimplemented! in stable_mir that was added as part of the PR that required those changes on our side in the first place). @celinval might be best placed to help resolve this?

@celinval
Copy link
Contributor

celinval commented Apr 5, 2024

Damn... this isn't good. This PR shouldn've been approved. This Fix definitely needs to be addressed on the rustc side.

@celinval
Copy link
Contributor

celinval commented Apr 9, 2024

BTW, the fix to StableMIR has been approved: rust-lang/rust#123655

@tautschnig
Copy link
Member Author

BTW, the fix to StableMIR has been approved: rust-lang/rust#123655

Thank you @celinval for implementing this fix upstream! As this is now also merged we should be able to bump the toolchain tomorrow morning.

@tautschnig
Copy link
Member Author

Closing in favour of #3144.

@tautschnig tautschnig closed this Apr 16, 2024
@tautschnig tautschnig deleted the toolchain-upgrade-2024-04-03-manual branch April 16, 2024 07:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Z-BenchCI Tag a PR to run benchmark CI
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Toolchain upgrade to nightly-2024-04-03 failed
2 participants