-
Notifications
You must be signed in to change notification settings - Fork 390
Closed
Labels
A-concurrencyArea: affects our concurrency (multi-thread) supportArea: affects our concurrency (multi-thread) supportC-bugCategory: This is a bug.Category: This is a bug.
Description
Hi!
I am excited about the new data race detector, but, unfortunatelly, it fails on once_cell. I think this is a false positive -- I've managed to minimize the test case to do almost literally nothing, and commenting (or uncommenting) a no-op fn is what causes the bug. Here's the repro: matklad/once_cell@93717d9
The test is modified from std: https://github.com/rust-lang/rust/blob/45f638bd8620592b7c50e9b483c2aa8ef9715f5d/library/std/src/sync/once/tests.rs#L17
Metadata
Metadata
Assignees
Labels
A-concurrencyArea: affects our concurrency (multi-thread) supportArea: affects our concurrency (multi-thread) supportC-bugCategory: This is a bug.Category: This is a bug.