Skip to content

Commit 65a3c0b

Browse files
committed
Auto merge of #11916 - ehuss:test-lto-windows-gnu-disable, r=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.
2 parents 1f63f1d + 5860cd2 commit 65a3c0b

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

tests/testsuite/lto.rs

+5
Original file line numberDiff line numberDiff line change
@@ -627,6 +627,11 @@ fn dylib() {
627627
}
628628

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

0 commit comments

Comments
 (0)