Skip to content

Commit 9474349

Browse files
borsehuss
authored andcommitted
Auto merge of rust-lang#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.
1 parent dcd078d commit 9474349

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)