rust/src/liballoc
Ulrik Sverdrup 32211e1d27 Mark Arc function get_mut and method make_unique unsafe
This is a temporary mitigation for issue #24880 which points out that
these functions are racy in a particular situation where weak pointers
exist.

To mitigate this, mark the functions unsafe until this can be fixed or
another decision is made.

This is a breaking change to unstable API, because the new version
requires an `unsafe` block. Review carefully if weak pointers may race
for any uses of this API and consider abandoning it.

[breaking-change]
2015-05-30 22:15:40 +02:00
..
arc.rs Mark Arc function get_mut and method make_unique unsafe 2015-05-30 22:15:40 +02:00
boxed.rs Remove #[cfg(stage0)] items. 2015-05-27 11:19:02 +03:00
boxed_test.rs Fallout in libstd: remove impls now considered to conflict. 2015-04-01 11:21:42 -04:00
heap.rs Rollup merge of #25254 - cgaebel:check-sizes-on-allocate, r=Gankro 2015-05-11 23:24:18 -04:00
lib.rs Remove #[cfg(stage0)] items. 2015-05-27 11:19:02 +03:00
rc.rs Remove #[cfg(stage0)] items. 2015-05-27 11:19:02 +03:00