-
Notifications
You must be signed in to change notification settings - Fork 159
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
Switch to the stable channel 🎉 #688
Switch to the stable channel 🎉 #688
Conversation
Awesome! This will make a lot of people (I know) happy 😁 |
5df873f
to
4b5f143
Compare
@phip1611 ping on review for this :) |
Sorry! Somehow, I often miss if someone sets me as a reviewer. GitHub doesn't send notifications in that case, does it? PS: Just learned about https://github.com/pulls/review-requested |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🥳
As of 2022-12-18, we can rely on the `default_alloc_error_handler` feature which was stabilized in rust-lang/rust#102318. The behavior of the default handler is to panic, essentially the same as our current custom one.
The feature has been stabilized so we don't need to enable it anymore.
As of Rust 1.68, the uefi crates work on stable. Remove the `channel = "nightly"` setting from `rust-toolchain.toml` and `template/rust-toolchain.toml`. Related changes: * The CI job to compile with the MSRV has been changed from `nightly-2022-11-22` to `1.68`. So for now the MSRV job isn't checking anything that isn't already checked by other jobs, but once 1.69 comes out it will. * The CI job to test the latest crates.io release still needs the nightly toolchain until we do a new release. * Some of the uefi-macros compiler ui tests have been modified so that the error output matches the errors produced by stable compiler, which are currently slightly different in a few cases from the nightly compiler. In particular, the precise spans we output for errors in the guid macros don't work on stable, because proc-macro's Literal::subspan method is currently unstable.
4b5f143
to
adaa4ba
Compare
Rust 1.68 is out, so we can use the stable channel now. This PR includes #617 and #636, removes nightly from the rust-toolchain files, updates the CI, and updates various docs.
Closes #452
Closes #638
Checklist