Skip to content

Commit

Permalink
Auto merge of #11419 - weihanglo:disable-lto-mingw, r=epage
Browse files Browse the repository at this point in the history
  • Loading branch information
bors committed Nov 25, 2022
2 parents ba607b2 + d5cac16 commit 6a0f0cb
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/testsuite/lto.rs
Original file line number Diff line number Diff line change
Expand Up @@ -625,6 +625,10 @@ fn dylib() {
}

#[cargo_test]
#[cfg_attr(
all(target_os = "windows", target_env = "gnu"),
ignore = "thinLTO is broken. Tracking in rust-lang/rust#104852"
)]
fn test_profile() {
Package::new("bar", "0.0.1")
.file("src/lib.rs", "pub fn foo() -> i32 { 123 } ")
Expand Down

0 comments on commit 6a0f0cb

Please sign in to comment.