[PATCH] Change more x64 size checks to not apply to x32.
authorHarald van Dijk <harald@gigawatt.nl>
Sun, 5 Sep 2021 15:42:36 +0000 (16:42 +0100)
committerXimin Luo <infinity0@debian.org>
Fri, 22 Oct 2021 22:29:14 +0000 (23:29 +0100)
commit17c3f2fdc7e2552f96179b415d57b9f8b3c0426d
treec897ff41f2552bea2c6438cbd6351dee8a7f80ea
parent9cef7e80004d969343c001db10954bd2d06ba0a5
[PATCH] Change more x64 size checks to not apply to x32.

Commit 95e096d6 changed a bunch of size checks already, but more have
been added, so this fixes the new ones the same way: the various size
checks that are conditional on target_arch = "x86_64" were not intended
to apply to x86_64-unknown-linux-gnux32, so add
target_pointer_width = "64" to the conditions.

Gbp-Pq: Name u-88668.patch
compiler/rustc_middle/src/mir/mod.rs
compiler/rustc_parse/src/parser/attr_wrapper.rs
src/librustdoc/html/render/context.rs