-
Notifications
You must be signed in to change notification settings - Fork 12.3k
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
Tracking Issue for const_intrinsic_copy #80697
Comments
…=oli-obk const_intrinsic_copy - Add Reference to tracking issue Add reference to tracking issue rust-lang#80697 for feature gate added in previous PR rust-lang#79684
Yeah I guess for now we won't bring them back. |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Team member @joshtriplett has proposed to merge this. The next step is review by the rest of the tagged team members: Concerns:
Once a majority of reviewers approve (and at most 2 approvals are outstanding), this will enter its final comment period. If you spot a major issue that hasn't been raised at any point in this process, please speak up! See this document for info about what commands tagged team members can give me. |
Fine from my side -- these are all conceptually simple functions and their implementation has been battle-tested a lot in Miri. |
@rfcbot resolve confirm-with-wg-const-eval |
🔔 This is now entering its final comment period, as per the review above. 🔔 |
The final comment period, with a disposition to merge, as per the review above, is now complete. As the automated representative of the governance process, I would like to thank the author for their work and everyone else who contributed. This will be merged soon. |
…-copy, r=dtolnay Stabilize `const_intrinsic_copy` FCP has been completed: rust-lang#80697 (comment) Closes rust-lang#80697
…-copy, r=dtolnay Stabilize `const_intrinsic_copy` FCP has been completed: rust-lang#80697 (comment) Closes rust-lang#80697
Opening since stablisation was reverted in #117905 |
Feature gate:
#![feature(const_intrinsic_copy)]
This is a tracking issue for making the functions
ptr::copy
andptr::copy_nonoverlapping
as well as some related functionsconst fn
.Public API
Steps / History
ptr::copy
andptr::copy_nonoverlapping
asconst fn
: Make copy[_nonoverlapping] const #79684copy_to
,copy_from
and friends : Constifycopy
related functions #83091const_intrinsic_copy
#97276Unresolved Questions
Inorder to make
intrinsics::copy
andintrinsics::copy_nonoverlapping
compile asconst fn
, some checks were removed.See comment for some more info
(#79684 did the
Comment out the debug assertions for now.
-thing).So the question is, how do we bring them back?
The text was updated successfully, but these errors were encountered: