diff options
| author | Ralf Jung <post@ralfj.de> | 2025-05-08 14:39:35 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-05-08 14:39:35 +0000 |
| commit | 514d5461aaf887e3a4cec7071cdb02441042acb0 (patch) | |
| tree | 94b9a5101870e8d91bbc26a660db567ada95f7aa | |
| parent | 67f67268ab7dffde82c286e8f3ec074d67e3bf3d (diff) | |
| parent | 8930c41034176644eaede7ecb65f2c31111b9b2e (diff) | |
| download | rust-514d5461aaf887e3a4cec7071cdb02441042acb0.tar.gz rust-514d5461aaf887e3a4cec7071cdb02441042acb0.zip | |
Merge pull request #4315 from RalfJung/test-cleanup
remove stray stderr file
| -rw-r--r-- | src/tools/miri/tests/fail/weak_memory/racing_mixed_size.stderr | 22 | ||||
| -rw-r--r-- | src/tools/miri/tests/pass/both_borrows/basic_aliasing_model.rs | 1 |
2 files changed, 0 insertions, 23 deletions
diff --git a/src/tools/miri/tests/fail/weak_memory/racing_mixed_size.stderr b/src/tools/miri/tests/fail/weak_memory/racing_mixed_size.stderr deleted file mode 100644 index a437ca34258..00000000000 --- a/src/tools/miri/tests/fail/weak_memory/racing_mixed_size.stderr +++ /dev/null @@ -1,22 +0,0 @@ -error: Undefined Behavior: Race condition detected between (1) 4-byte atomic store on thread `unnamed-ID` and (2) 2-byte atomic load on thread `unnamed-ID` at ALLOC. (2) just happened here - --> tests/fail/weak_memory/racing_mixed_size.rs:LL:CC - | -LL | std::intrinsics::atomic_load_relaxed(hi); - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Race condition detected between (1) 4-byte atomic store on thread `unnamed-ID` and (2) 2-byte atomic load on thread `unnamed-ID` at ALLOC. (2) just happened here - | -help: and (1) occurred earlier here - --> tests/fail/weak_memory/racing_mixed_size.rs:LL:CC - | -LL | x.store(1, Relaxed); - | ^^^^^^^^^^^^^^^^^^^ - = help: overlapping unsynchronized atomic accesses must use the same access size - = help: see https://doc.rust-lang.org/nightly/std/sync/atomic/index.html#memory-model-for-atomic-accesses for more information about the Rust memory model - = help: this indicates a bug in the program: it performed an invalid operation, and caused Undefined Behavior - = help: see https://doc.rust-lang.org/nightly/reference/behavior-considered-undefined.html for further information - = note: BACKTRACE (of the first span) on thread `unnamed-ID`: - = note: inside closure at tests/fail/weak_memory/racing_mixed_size.rs:LL:CC - -note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace - -error: aborting due to 1 previous error - diff --git a/src/tools/miri/tests/pass/both_borrows/basic_aliasing_model.rs b/src/tools/miri/tests/pass/both_borrows/basic_aliasing_model.rs index c2b6a7e68be..c76e7f2eebd 100644 --- a/src/tools/miri/tests/pass/both_borrows/basic_aliasing_model.rs +++ b/src/tools/miri/tests/pass/both_borrows/basic_aliasing_model.rs @@ -12,7 +12,6 @@ fn main() { mut_raw_mut(); partially_invalidate_mut(); drop_after_sharing(); - // direct_mut_to_const_raw(); two_raw(); shr_and_raw(); disjoint_mutable_subborrows(); |
