about summary refs log tree commit diff
path: root/compiler/rustc_const_eval/src/interpret/operand.rs
diff options
context:
space:
mode:
authorNicholas Nethercote <n.nethercote@gmail.com>2024-04-16 17:02:20 +1000
committerNicholas Nethercote <n.nethercote@gmail.com>2024-04-18 15:36:25 +1000
commit0d97669a171d3d5c9c9c2d3437421d2d35d9bbb5 (patch)
treebfd7456fa92e7c81dd637db8a2c163184a88e38e /compiler/rustc_const_eval/src/interpret/operand.rs
parent1cec373f65eb76e8e4b4d1847213cf3ec6c292b6 (diff)
downloadrust-0d97669a171d3d5c9c9c2d3437421d2d35d9bbb5.tar.gz
rust-0d97669a171d3d5c9c9c2d3437421d2d35d9bbb5.zip
Simplify `static_assert_size`s.
We want to run them on all 64-bit platforms.
Diffstat (limited to 'compiler/rustc_const_eval/src/interpret/operand.rs')
-rw-r--r--compiler/rustc_const_eval/src/interpret/operand.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_const_eval/src/interpret/operand.rs b/compiler/rustc_const_eval/src/interpret/operand.rs
index 842fb6d204c..f3b11c40de9 100644
--- a/compiler/rustc_const_eval/src/interpret/operand.rs
+++ b/compiler/rustc_const_eval/src/interpret/operand.rs
@@ -792,7 +792,7 @@ impl<'mir, 'tcx: 'mir, M: Machine<'mir, 'tcx>> InterpCx<'mir, 'tcx, M> {
 }
 
 // Some nodes are used a lot. Make sure they don't unintentionally get bigger.
-#[cfg(all(any(target_arch = "x86_64", target_arch = "aarch64"), target_pointer_width = "64"))]
+#[cfg(target_pointer_width = "64")]
 mod size_asserts {
     use super::*;
     use rustc_data_structures::static_assert_size;