File tree Expand file tree Collapse file tree 1 file changed +1
-9
lines changed
Expand file tree Collapse file tree 1 file changed +1
-9
lines changed Original file line number Diff line number Diff line change 11cfg_if:: cfg_if! {
2- if #[ cfg( miri) ] {
3- /// Mitigation for <https://github.com/rust-lang/rust/issues/126600>
4- ///
5- /// This mitigation is not necessary when running under Miri, so this function does nothing
6- /// when running under Miri.
7- pub ( crate ) fn unique_thread_exit( ) {
8- // Mitigation not required on Miri, where `exit` is thread-safe.
9- }
10- } else if #[ cfg( target_os = "linux" ) ] {
2+ if #[ cfg( target_os = "linux" ) ] {
113 /// Mitigation for <https://github.com/rust-lang/rust/issues/126600>
124 ///
135 /// On UNIX-like platforms (where `libc::exit` may not be thread-safe), ensure that only one
You can’t perform that action at this time.
0 commit comments