Update reason why fmt-write-bloat ignores windows

This commit is contained in:
Chris Denton 2024-08-09 21:21:43 +00:00
parent 2cc029edf5
commit ef90df6904
No known key found for this signature in database
GPG Key ID: 713472F2F45627DE
1 changed files with 5 additions and 2 deletions

View File

@ -15,9 +15,12 @@
//! `NO_DEBUG_ASSERTIONS=1`). If debug assertions are disabled, then we can check for the absence of
//! additional `usize` formatting and padding related symbols.
// Reason: This test is `ignore-windows` because the `no_std` test (using `#[link(name = "c")])`
// doesn't link on windows.
//@ ignore-windows
// Reason:
// - MSVC targets really need to parse the .pdb file (aka the debug information).
// On Windows there's an API for that (dbghelp) which maybe we can use
// - MinGW targets have a lot of symbols included in their runtime which we can't avoid.
// We would need to make the symbols we're looking for more specific for this test to work.
//@ ignore-cross-compile
use run_make_support::env::no_debug_assertions;