From d5cac16d07ab44dff51af8bece6d916059d91439 Mon Sep 17 00:00:00 2001 From: Weihang Lo Date: Fri, 25 Nov 2022 01:00:11 +0000 Subject: [PATCH] temporarily disable test `lto::test_profile` - CI failing - - - Tracking in - Discussing in --- tests/testsuite/lto.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/testsuite/lto.rs b/tests/testsuite/lto.rs index ba1041c10ab..892c8bb8cf0 100644 --- a/tests/testsuite/lto.rs +++ b/tests/testsuite/lto.rs @@ -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 } ")