Skip to content

Commit 8e955db

Browse files
committed
ci: Ignore linker_messages on aarch64-pc-windows-msvc
``` error: linker stdout: C:\a\portable-atomic\portable-atomic\target\debug\deps\portable_atomic-6f0d7f05900c9263.exe : warning LNK4072: section count 101 exceeds max (96); image may not run | = note: requested on the command line with `-D linker-messages` error: could not compile `portable-atomic` (lib test) due to 1 previous error ```
1 parent 1f34ae1 commit 8e955db

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -568,8 +568,8 @@ jobs:
568568
printf '%s\n' "RUSTDOCFLAGS=${RUSTDOCFLAGS} ${{ matrix.flags }}" >>"${GITHUB_ENV}"
569569
if: matrix.flags != ''
570570
- run: printf '%s\n' "RUSTFLAGS=${RUSTFLAGS} -D linker_messages" >>"${GITHUB_ENV}"
571-
# Exclude x86_64-pc-windows-gnu due to https://github.com/rust-lang/rust/issues/112368
572-
if: matrix.rust == 'nightly' && matrix.target != 'x86_64-pc-windows-gnu'
571+
# Exclude aarch64-pc-windows-msvc due to "error: linker stdout: C:\a\portable-atomic\portable-atomic\target\debug\deps\portable_atomic-6f0d7f05900c9263.exe : warning LNK4072: section count 101 exceeds max (96); image may not run" error
572+
if: matrix.rust == 'nightly' && matrix.target != 'aarch64-pc-windows-msvc'
573573
# for f16 and f128
574574
# https://github.com/rust-lang/rust/blob/ffb9d94dcf4ade0d534842be3672d5e9f47e1333/compiler/rustc_codegen_llvm/src/llvm_util.rs#L373
575575
# https://github.com/rust-lang/rust/blob/ffb9d94dcf4ade0d534842be3672d5e9f47e1333/compiler/rustc_codegen_cranelift/src/lib.rs#L203

0 commit comments

Comments
 (0)