]> git.lizzy.rs Git - rust.git/commitdiff
fix a comment now that we have concurrency
authorRalf Jung <post@ralfj.de>
Tue, 5 May 2020 09:57:39 +0000 (11:57 +0200)
committerRalf Jung <post@ralfj.de>
Tue, 5 May 2020 09:59:22 +0000 (11:59 +0200)
src/shims/intrinsics.rs

index cf485b5477468d20a7c3b36f5cf44daccb92fae0..08087b0350d9c02d9be2745dfd2b80eb0753b482 100644 (file)
@@ -364,7 +364,7 @@ fn call_intrinsic(
             | "atomic_singlethreadfence"
             => {
                 let &[] = check_arg_count(args)?;
-                // we are inherently singlethreaded and singlecored, this is a nop
+                // FIXME: this will become relevant once we try to detect data races.
             }
 
             _ if intrinsic_name.starts_with("atomic_xchg") => {