Skip to content

Commit

Permalink
Auto merge of #11916 - ehuss:test-lto-windows-gnu-disable, r=weihanglo
Browse files Browse the repository at this point in the history
Disable test_profile test on windows-gnu

This disables the `test_profile` test on windows-gnu due to a regression in nightly, see rust-lang/rust#109797.
  • Loading branch information
bors committed Mar 31, 2023
2 parents 1f63f1d + 5860cd2 commit 65a3c0b
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tests/testsuite/lto.rs
Original file line number Diff line number Diff line change
Expand Up @@ -627,6 +627,11 @@ fn dylib() {
}

#[cargo_test]
// This is currently broken on windows-gnu, see https://github.com/rust-lang/rust/issues/109797
#[cfg_attr(
all(target_os = "windows", target_env = "gnu"),
ignore = "windows-gnu not working"
)]
fn test_profile() {
Package::new("bar", "0.0.1")
.file("src/lib.rs", "pub fn foo() -> i32 { 123 } ")
Expand Down

0 comments on commit 65a3c0b

Please sign in to comment.