From 8161ba50cd5ec6fffff26a19c9ad34d16a428b53 Mon Sep 17 00:00:00 2001 From: Eric Huss Date: Mon, 13 Nov 2023 19:17:51 -0800 Subject: [PATCH] Ignore changing_spec_relearns_crate_types on windows-gnu --- tests/testsuite/custom_target.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/testsuite/custom_target.rs b/tests/testsuite/custom_target.rs index a0402907564..45cb3ac9fab 100644 --- a/tests/testsuite/custom_target.rs +++ b/tests/testsuite/custom_target.rs @@ -178,6 +178,8 @@ fn changing_spec_rebuilds() { } #[cargo_test(nightly, reason = "requires features no_core, lang_items")] +// This is randomly crashing in lld. See https://github.com/rust-lang/rust/issues/115985 +#[cfg_attr(all(windows, target_env = "gnu"), ignore = "windows-gnu lld crashing")] fn changing_spec_relearns_crate_types() { // Changing the .json file will invalidate the cache of crate types. let p = project()