Skip to content

Commit

Permalink
Auto merge of #12763 - ehuss:custom_bin_target-windows-gnu, r=weihanglo
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
bors committed Oct 2, 2023
2 parents 93811b5 + 704a5d3 commit 1f94bf2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/testsuite/custom_target.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit 1f94bf2

Please sign in to comment.