about summary refs log tree commit diff
path: root/src/test/incremental/thinlto
diff options
context:
space:
mode:
authorkennytm <kennytm@gmail.com>2018-07-06 07:07:20 +0800
committerkennytm <kennytm@gmail.com>2018-07-06 08:49:23 +0800
commitb87b22e53caa405ac318c8b4c70d89fd6ffd0be8 (patch)
tree09016d1a774f8a6a80b1ea76329d736b6dbe27a6 /src/test/incremental/thinlto
parent7ce7bf0e37195ac17844267aad1f347d66c8ab4c (diff)
parentf96c2468695911222ba7557ce04af0dd8fbb6df2 (diff)
downloadrust-b87b22e53caa405ac318c8b4c70d89fd6ffd0be8.tar.gz
rust-b87b22e53caa405ac318c8b4c70d89fd6ffd0be8.zip
Rollup merge of #52031 - RalfJung:arc, r=sfackler
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

Unfortunately I have no idea how to add a test for this.

Cc @jhjourdan
Diffstat (limited to 'src/test/incremental/thinlto')
0 files changed, 0 insertions, 0 deletions