Fix unstable_const for the latest compiler#63
Merged
Gilnaa merged 2 commits intoGilnaa:masterfrom Dec 3, 2021
yvt:fix-nightly
Merged
Fix unstable_const for the latest compiler#63Gilnaa merged 2 commits intoGilnaa:masterfrom yvt:fix-nightly
unstable_const for the latest compiler#63Gilnaa merged 2 commits intoGilnaa:masterfrom
yvt:fix-nightly
Conversation
It's now stable in nightly.
It's now stable in nightly.
Owner
|
Thanks @yvt ! |
yvt
added a commit
to r3-os/r3
that referenced
this pull request
Dec 4, 2021
`memoffset` with `unstable_const` feature depends on nightly compiler features and thus is fragile against compiler upgrades, just like this project. `memoffset 0.6.5` includes the changes from [Gilnaa/memoffset#63], which updates it to support the latest nightly compiler. [Gilnaa/memoffset#63]: Gilnaa/memoffset#63
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR removes some of
#![feature(...)]s for compatibility with the latest nightly compiler.const_maybe_uninit_as_ptrhas been stabilized by Stabilize someMaybeUninitbehavior as const rust-lang/rust#90896 and is not recognized by the compiler anymore.const_raw_ptr_derefhas been stabilized by Stabilizeconst_raw_ptr_dereffor*const Trust-lang/rust#89551.