-
Notifications
You must be signed in to change notification settings - Fork 56
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
Leverage const_mut_refs
#667
base: master
Are you sure you want to change the base?
Conversation
5ca300b
to
d72b59a
Compare
d72b59a
to
b6c06b0
Compare
This version leverages the new `core::error::Error` stabilization. We plan on bumping MSRV to 1.83 before a final release to get the `const_mut_refs` stabilization (#667), so this is something of an interim bump.
This version leverages the new `core::error::Error` stabilization. We plan on bumping MSRV to 1.83 before a final release to get the `const_mut_refs` stabilization (#667), so this is something of an interim bump.
This version leverages the new `core::error::Error` stabilization. We plan on bumping MSRV to 1.83 before a final release to get the `const_mut_refs` stabilization (#667), so this is something of an interim bump.
90cf782
to
95028da
Compare
c0ebcb2
to
64b622e
Compare
acf1a26
to
522ea4a
Compare
Went ahead and bumped this to 1.8.3.0-beta and removed WIP/draft, though I'll hold off on merging this until 1.83 is stable. This is just the beginning of what's possible: we can rewrite pretty much all of This will also make it possible to have many more common implementations shared among |
Replaces macro-based code sharing between the stack-allocated and heap-allocated `*Uint` types with `const fn` using `const_mut_refs`.
522ea4a
to
eaf2e62
Compare
Replaces macro-based code sharing between the stack-allocated and heap-allocated
*Uint
types withconst fn
usingconst_mut_refs
.Stabilization of this feature is (hopefully) imminent and the PR to do so is in FCP: rust-lang/rust#129195
I will keep this a draft until the feature has actually been stabilized and made it into a stable Rust release.
Edit: stabilization is currently slated for the 1.83.0 milestone, which is set to be released on November 28th, 2024.