Skip to content

Commit

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

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 authored and ehuss committed Apr 4, 2023
1 parent efdd8bd commit 32ad843
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 32ad843

Please sign in to comment.