diff --git a/src/concurrency/sync.rs b/src/concurrency/sync.rs index 11110c6e75..2c6a7bf0f5 100644 --- a/src/concurrency/sync.rs +++ b/src/concurrency/sync.rs @@ -234,8 +234,8 @@ pub fn lazy_sync_get_data<'tcx, T: 'static + Copy>( &init_field, &ImmTy::from_scalar(init_cookie, ecx.machine.layouts.u32), init_cookie, - AtomicRwOrd::Acquire, - AtomicReadOrd::Acquire, + AtomicRwOrd::Relaxed, + AtomicReadOrd::Relaxed, /* can_fail_spuriously */ false, )? .to_scalar_pair();