7

Github Make ptr::write const by usbalbin · Pull Request #81167 · rust-lang/rust...

 3 years ago
source link: https://github.com/rust-lang/rust/pull/81167
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

Copy link

Contributor

usbalbin commented on Jan 18

edited

The code in this PR as of right now is not much more than an experiment.

This should, if I am not mistaken, in theory compile and pass the tests once the bootstraping compiler is updated. Thus the PR is blocked on that which should happen some time after the February the 9th. Also we might want to wait for #79989 to avoid regressing performance due to using mem::forget over intrinsics::forget.


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK