diff options
| author | Ulrik Sverdrup <root@localhost> | 2015-05-30 22:03:57 +0200 |
|---|---|---|
| committer | Ulrik Sverdrup <root@localhost> | 2015-05-30 22:15:40 +0200 |
| commit | 32211e1d27c258c62cafb6ba357e67db932367bf (patch) | |
| tree | 56e895dafa8fce96d2c65a5dd55bb03f82e8dca9 /src/rustllvm/ExecutionEngineWrapper.cpp | |
| parent | ee1ba33c4c679e679b0fd95aaf7145e7ebc275d4 (diff) | |
| download | rust-32211e1d27c258c62cafb6ba357e67db932367bf.tar.gz rust-32211e1d27c258c62cafb6ba357e67db932367bf.zip | |
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]
Diffstat (limited to 'src/rustllvm/ExecutionEngineWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
