Skip to content

Commit e00e070

Browse files
committed
Add comment about using stack/heap allocated mutexes.
1 parent 1b29a66 commit e00e070

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/genmc/pass/shims/mutex_simple.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,8 @@ fn miri_start(_argc: isize, _argv: *const *const u8) -> isize {
3232
}
3333

3434
fn main_() {
35+
// FIXME(genmc): Try using stack/heap allocated Mutexes once GenMC has mixed-size access support.
36+
3537
let mut guard = LOCK.lock().unwrap();
3638
for &v in guard.iter() {
3739
assert!(v == 1234); // Check that mutex values are initialized correctly

0 commit comments

Comments
 (0)