Update compiler/rustc_mir_transform/src/check_alignment.rs
This commit is contained in:
parent
c54672e25f
commit
4ef316f397
@ -15,6 +15,7 @@ pub struct CheckAlignment;
|
|||||||
|
|
||||||
impl<'tcx> MirPass<'tcx> for CheckAlignment {
|
impl<'tcx> MirPass<'tcx> for CheckAlignment {
|
||||||
fn is_enabled(&self, sess: &Session) -> bool {
|
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" {
|
if sess.target.llvm_target == "i686-pc-windows-msvc" {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user