]> git.lizzy.rs Git - rust.git/commit - src/tools/miri
Rollup merge of #88668 - hvdijk:x32, r=joshtriplett
authorJubilee <46493976+workingjubilee@users.noreply.github.com>
Sat, 11 Sep 2021 15:23:41 +0000 (08:23 -0700)
committerGitHub <noreply@github.com>
Sat, 11 Sep 2021 15:23:41 +0000 (08:23 -0700)
commit7b514cdcfed05f6f09dfb529ea6669cff2796593
tree06e253b1040e9ebc1da5e49e922e199b5fac6964
parent3af42a897fbd205b3f8f36271cb0be9ff1bffe2c
parentcd75af25e036301d7971f6f302cf6a5593b0a6b5
Rollup merge of #88668 - hvdijk:x32, r=joshtriplett

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.
compiler/rustc_middle/src/mir/mod.rs