From f66c64bed25448af4b732b86255bd0c624dd4bac Mon Sep 17 00:00:00 2001 From: Ralf Jung Date: Sat, 25 Jun 2022 11:52:29 -0400 Subject: [PATCH] remove a FIXME that is not actually a bug --- src/shims/unix/linux/sync.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/src/shims/unix/linux/sync.rs b/src/shims/unix/linux/sync.rs index 0fdbde8d677..6be1e672f85 100644 --- a/src/shims/unix/linux/sync.rs +++ b/src/shims/unix/linux/sync.rs @@ -172,7 +172,6 @@ pub fn futex<'tcx>( this.atomic_fence(&[], AtomicFenceOp::SeqCst)?; // Read an `i32` through the pointer, regardless of any wrapper types. // It's not uncommon for `addr` to be passed as another type than `*mut i32`, such as `*const AtomicI32`. - // FIXME: this fails if `addr` is not a pointer type. let futex_val = this .read_scalar_at_offset_atomic( &addr.into(),