diff options
| author | Ralf Jung <post@ralfj.de> | 2025-04-02 08:31:42 +0200 |
|---|---|---|
| committer | Ralf Jung <post@ralfj.de> | 2025-04-07 23:30:55 +0200 |
| commit | 2678d04dd97444cf444c31be92bfd281f9986a47 (patch) | |
| tree | f11b92295a76bf8fd52819987ef033023a4a2ecf /tests/codegen/align-struct.rs | |
| parent | e643f59f6da3a84f43e75dea99afaa5b041ea6bf (diff) | |
| download | rust-2678d04dd97444cf444c31be92bfd281f9986a47.tar.gz rust-2678d04dd97444cf444c31be92bfd281f9986a47.zip | |
mitigate MSVC unsoundness by not emitting alignment attributes on win32-msvc targets
also mention the MSVC alignment issue in platform-support.md
Diffstat (limited to 'tests/codegen/align-struct.rs')
| -rw-r--r-- | tests/codegen/align-struct.rs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/codegen/align-struct.rs b/tests/codegen/align-struct.rs index cc65b08a922..402a184d4c0 100644 --- a/tests/codegen/align-struct.rs +++ b/tests/codegen/align-struct.rs @@ -1,5 +1,7 @@ //@ compile-flags: -C no-prepopulate-passes -Z mir-opt-level=0 -// +// 32bit MSVC does not align things properly so we suppress high alignment annotations (#112480) +//@ ignore-i686-pc-windows-msvc +//@ ignore-i686-pc-windows-gnu #![crate_type = "lib"] |
