Skip to content

Commit

Permalink
Auto merge of #1673 - RalfJung:rustup, r=RalfJung
Browse files Browse the repository at this point in the history
rustup; make tests pass again
  • Loading branch information
bors committed Jan 15, 2021
2 parents 63ad89e + 4a03510 commit 1cf1a2e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion rust-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
a2cd91ceb0f156cb442d75e12dc77c3d064cdde4
4e208f6a3afb42528878b0f3464e337c4bf3bbc8
3 changes: 1 addition & 2 deletions src/data_race.rs
Original file line number Diff line number Diff line change
Expand Up @@ -824,8 +824,7 @@ impl VClockAlloc {
// Throw the data-race detection.
throw_ub_format!(
"Data race detected between {} on {} and {} on {}, memory({:?},offset={},size={})\
\n\t\t -current vector clock = {:?}\
\n\t\t -conflicting timestamp = {:?}",
\n(current vector clock = {:?}, conflicting timestamp = {:?})",
action,
current_thread_info,
other_action,
Expand Down
1 change: 1 addition & 0 deletions tests/run-pass/concurrency/sync_singlethread.rs
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ impl<T> TryLockErrorExt<T> for TryLockError<T> {
}

fn test_spin_loop_hint() {
#[allow(deprecated)]
atomic::spin_loop_hint();
hint::spin_loop();
}
Expand Down

0 comments on commit 1cf1a2e

Please sign in to comment.