diff options
| author | Aaron Turon <aturon@mozilla.com> | 2014-05-29 11:49:01 -0700 |
|---|---|---|
| committer | Aaron Turon <aturon@mozilla.com> | 2014-05-29 13:26:23 -0700 |
| commit | 7889c951240624b22cc4c9b87f2852322b0b716c (patch) | |
| tree | 050eb9bdcdcfc89650cfb9c13d2c40a3ccd33f20 /src/rustllvm/RustWrapper.cpp | |
| parent | 50b8528970734adcc654740c51c50094f73dcbee (diff) | |
| download | rust-7889c951240624b22cc4c9b87f2852322b0b716c.tar.gz rust-7889c951240624b22cc4c9b87f2852322b0b716c.zip | |
Make Arc::make_unique check weak refs; add make_unique to Rc
This patch makes `Arc::make_unique` examine the number of weak references as well as strong references, which is required for safety. It also adds a `make_unique` method to the `Rc` type for consistency. Closes #14521.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
