Skip to content

Commit ed60a7f

Browse files
committed
lang
1 parent 477e486 commit ed60a7f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/bin/miri.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -798,11 +798,11 @@ fn main() {
798798
#[cfg(target_os = "linux")]
799799
if !miri_config.native_lib.is_empty() && !miri_config.force_old_native_lib {
800800
// FIXME: This should display a diagnostic / warning on error
801-
// SAFETY: If any other threads exist at this point (e.g. for the ctrlc
801+
// SAFETY: If any other threads exist at this point (namely for the ctrlc
802802
// handler), they will not interact with anything on the main rustc/Miri
803803
// thread in an async-signal-unsafe way such as by accessing shared
804804
// semaphores, etc.; the handler only calls `sleep()` and `exit()`, which
805-
// are async-signal-safe, and accessing atomics is also
805+
// are async-signal-safe, as is accessing atomics
806806
let _ = unsafe { miri::init_sv() };
807807
}
808808
run_compiler_and_exit(

0 commit comments

Comments
 (0)