From 704a5d32b5f6ba322de8c5a6bfbd4b3d4d9fd8ea Mon Sep 17 00:00:00 2001 From: Eric Huss Date: Sun, 1 Oct 2023 18:22:41 -0700 Subject: [PATCH] Disable custom_target::custom_bin_target 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 491d3233ca3..a0402907564 100644 --- a/tests/testsuite/custom_target.rs +++ b/tests/testsuite/custom_target.rs @@ -116,6 +116,8 @@ fn custom_target_dependency() { } #[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 custom_bin_target() { let p = project() .file(