set_global_recorder
should apply Sync
bound
#511
Labels
C-core
Component: core functionality such as traits, etc.
E-simple
Effort: simple.
T-ergonomics
Type: ergonomics.
Hi
This is not an issue for any sane implementations, but currently the lack of Sync restrictions makes the
set_global_recorder
unsound: it's possible to create data race in safe codeexample:
Miri output (rustc 1.80):
The text was updated successfully, but these errors were encountered: