about summary refs log tree commit diff
path: root/src/librustdoc/clean
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2024-04-18 09:47:45 +0000
committerbors <bors@rust-lang.org>2024-04-18 09:47:45 +0000
commitc25473ff62a99541426423e8ef41c63d71e0a4a0 (patch)
tree46ca631c35429db07d94ab05061a17206664caf9 /src/librustdoc/clean
parentecd45472f800ee946e23cd68361f4ce5ccaf9433 (diff)
parent0d97669a171d3d5c9c9c2d3437421d2d35d9bbb5 (diff)
downloadrust-c25473ff62a99541426423e8ef41c63d71e0a4a0.tar.gz
rust-c25473ff62a99541426423e8ef41c63d71e0a4a0.zip
Auto merge of #124008 - nnethercote:simpler-static_assert_size, r=Nilstrieb
Simplify `static_assert_size`s.

We want to run them on all 64-bit platforms.

r? `@ghost`
Diffstat (limited to 'src/librustdoc/clean')
-rw-r--r--src/librustdoc/clean/types.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustdoc/clean/types.rs b/src/librustdoc/clean/types.rs
index aeb7137b722..550221adaa8 100644
--- a/src/librustdoc/clean/types.rs
+++ b/src/librustdoc/clean/types.rs
@@ -2567,7 +2567,7 @@ pub(crate) enum TypeBindingKind {
 }
 
 // Some nodes are used a lot. Make sure they don't unintentionally get bigger.
-#[cfg(all(target_arch = "x86_64", target_pointer_width = "64"))]
+#[cfg(target_pointer_width = "64")]
 mod size_asserts {
     use super::*;
     use rustc_data_structures::static_assert_size;