Update compiler/rustc_mir_transform/src/check_alignment.rs
This commit is contained in:
parent
c54672e25f
commit
4ef316f397
1 changed files with 1 additions and 0 deletions
|
@ -15,6 +15,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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue