diff options
| author | Ralf Jung <post@ralfj.de> | 2018-07-03 22:10:30 +0200 |
|---|---|---|
| committer | Ralf Jung <post@ralfj.de> | 2018-07-03 22:33:17 +0200 |
| commit | f96c2468695911222ba7557ce04af0dd8fbb6df2 (patch) | |
| tree | d7efa02d693f52dd1abb10cb2220555598d71805 /src/test/incremental/thinlto | |
| parent | 860d169474acabdc53b9a698f8ce02eba7e0daeb (diff) | |
| download | rust-f96c2468695911222ba7557ce04af0dd8fbb6df2.tar.gz rust-f96c2468695911222ba7557ce04af0dd8fbb6df2.zip | |
Strenghten synchronization in `Arc::is_unique`
Previously, `is_unique` would not synchronize at all with a `drop` that returned early because it was not the last reference, leading to a data race. Fixes #51780
Diffstat (limited to 'src/test/incremental/thinlto')
0 files changed, 0 insertions, 0 deletions
