Use sanitizers in CI (#204)

This commit is contained in:
Carl Lerche
2018-05-25 12:40:37 -07:00
committed by GitHub
parent dfce95b89d
commit 32ea8281b3
2 changed files with 35 additions and 0 deletions
+17
View File
@@ -0,0 +1,17 @@
# TSAN suppressions file for `bytes`
# TSAN does not understand fences and `Arc::drop` is implemented using a fence.
# This causes many false positives.
race:Arc*drop
race:arc*Weak*drop
# `std` mpsc is not used in any Bytes code base. This race is triggered by some
# rust runtime logic.
race:std*mpsc_queue
# Probably more fences in std.
race:__call_tls_dtors
# `is_inline` is explicitly called concurrently without synchronization. The
# safety explanation can be found in a comment.
race:Inner::is_inline