Skip to content

Commit 1f94bf2

Browse files
committed
Auto merge of #12763 - ehuss:custom_bin_target-windows-gnu, r=weihanglo
Disable custom_target::custom_bin_target on windows-gnu The `custom_target::custom_bin_target` test has been crashing frequently in CI on the x86_64-pc-windows-gnu target since the last LLVM 17 update. This disables the test to reduce the disruption in CI. The issue is being tracked in rust-lang/rust#115985.
2 parents 93811b5 + 704a5d3 commit 1f94bf2

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/testsuite/custom_target.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,8 @@ fn custom_target_dependency() {
116116
}
117117

118118
#[cargo_test(nightly, reason = "requires features no_core, lang_items")]
119+
// This is randomly crashing in lld. See https://github.com/rust-lang/rust/issues/115985
120+
#[cfg_attr(all(windows, target_env = "gnu"), ignore = "windows-gnu lld crashing")]
119121
fn custom_bin_target() {
120122
let p = project()
121123
.file(

0 commit comments

Comments
 (0)