Join GitHub today
Tracking issue for Weak::into_raw/from_raw & similar #60728
Changing this to a tracking issue for the feature:
The original proposal
The Arc has the
Would adding these (and maybe
I've written the arc-swap crate that allows to keep an Arc around but make it point to some other object atomically. It uses the mentioned methods. It would make sense to have weak version of this atomic storage too.
A PR is sufficient; the motivation can be justified in there.