about summary refs log tree commit diff
path: root/src/test/codegen/src-hash-algorithm/src-hash-algorithm-md5.rs
diff options
context:
space:
mode:
authorMazdak Farrokhzad <twingoow@gmail.com>2020-03-21 05:33:13 +0100
committerGitHub <noreply@github.com>2020-03-21 05:33:13 +0100
commit4b91729df22015bd412f6fc0fa397785d1e2159c (patch)
tree36c451e885194eb5255918758e5e9bfb98101ef4 /src/test/codegen/src-hash-algorithm/src-hash-algorithm-md5.rs
parent1057dc97afce39ff6a224966ece3ed438af4c1f5 (diff)
parentfd0e15bbcda4b1674f22e8db5fd81a63d671c996 (diff)
downloadrust-4b91729df22015bd412f6fc0fa397785d1e2159c.tar.gz
rust-4b91729df22015bd412f6fc0fa397785d1e2159c.zip
Rollup merge of #65097 - tmiasko:arc, r=Amanieu
Make std::sync::Arc compatible with ThreadSanitizer

The memory fences used previously in Arc implementation are not properly
understood by thread sanitizer as synchronization primitives. This had
unfortunate effect where running any non-trivial program compiled with
`-Z sanitizer=thread` would result in numerous false positives.

Replace acquire fences with acquire loads to address the issue.

Fixes #39608.
Diffstat (limited to 'src/test/codegen/src-hash-algorithm/src-hash-algorithm-md5.rs')
0 files changed, 0 insertions, 0 deletions