Skip to content

Commit

Permalink
Update compiler/rustc_mir_transform/src/check_alignment.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
wesleywiser committed Jun 15, 2023
1 parent dabcfff commit 55d680b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions compiler/rustc_mir_transform/src/check_alignment.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ pub struct CheckAlignment;

impl<'tcx> MirPass<'tcx> for CheckAlignment {
fn is_enabled(&self, sess: &Session) -> bool {
// FIXME(#112480) MSVC and rustc disagree on minimum stack alignment on x86 Windows
if sess.target.llvm_target == "i686-pc-windows-msvc" {
return false;
}
Expand Down

0 comments on commit 55d680b

Please sign in to comment.