mirror of
https://github.com/openharmony/third_party_rust_bytes.git
synced 2026-07-20 01:13:36 -04:00
1f03ad7fd3
- Clones when the kind is INLINE or STATIC are sped up by over double. - Clones when the kind is ARC are spec up by about 1/3.
22 lines
676 B
Plaintext
22 lines
676 B
Plaintext
# 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
|
|
|
|
# Not sure why this is warning, but it is in the test harness and not the library.
|
|
race:TestEvent*clone
|
|
race:test::run_tests_console::*closure
|
|
|
|
# Probably more fences in std.
|
|
race:__call_tls_dtors
|
|
|
|
# `is_inline_or_static` is explicitly called concurrently without synchronization.
|
|
# The safety explanation can be found in a comment.
|
|
race:Inner::is_inline_or_static
|