-
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_ptr_write #86302
Labels
C-tracking-issue
Category: A tracking issue for an RFC or an unstable feature.
T-libs-api
Relevant to the library API team, which will review and decide on the PR/issue.
Comments
usbalbin
added a commit
to usbalbin/rust
that referenced
this issue
Jun 27, 2021
matthiaskrgr
added a commit
to matthiaskrgr/rust
that referenced
this issue
Nov 23, 2021
Make `intrinsics::write_bytes` const This is required to constify `MaybeUninit::zeroed` and `(*mut T)::write_bytes`. Tracking issue: rust-lang#86302
matthiaskrgr
added a commit
to matthiaskrgr/rust
that referenced
this issue
Dec 11, 2021
Make `intrinsics::write_bytes` const This is required to constify `MaybeUninit::zeroed` and `(*mut T)::write_bytes`. Tracking issue: rust-lang#86302
matthiaskrgr
added a commit
to matthiaskrgr/rust
that referenced
this issue
Dec 11, 2021
Make `intrinsics::write_bytes` const This is required to constify `MaybeUninit::zeroed` and `(*mut T)::write_bytes`. Tracking issue: rust-lang#86302
matthiaskrgr
added a commit
to matthiaskrgr/rust
that referenced
this issue
Dec 12, 2021
…i-obk Make `(*mut T)::write_bytes` `const` Tracking issue: rust-lang#86302
3 tasks
How does one initiate the FCP? Or are there any blockers? |
AFAICT, there are no blockers so this feature can probably be stabilized. |
How does stabilizing this help? You can't create mutable pointers in const on stable anyway... |
IOW, this is blocked on #57349 getting stabilized first. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
C-tracking-issue
Category: A tracking issue for an RFC or an unstable feature.
T-libs-api
Relevant to the library API team, which will review and decide on the PR/issue.
Feature gate:
#![feature(const_ptr_write)]
This is a tracking issue for making the functions
ptr::write
andptr::write_unaligned
, and the same methods on*mut T
,const fn
.Public API
Steps / History
core::intrinsics::write_bytes
akaptr::write_bytes
- Makeintrinsics::write_bytes
const #90081(*mut T)::write_bytes
- Make(*mut T)::write_bytes
const
#91824&mut T
in const contexts (const_mut_refs) #57349Related
Unresolved Questions
The text was updated successfully, but these errors were encountered: