We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 759ee7c commit c360958Copy full SHA for c360958
tests/testsuite/pgo.rs
@@ -23,13 +23,10 @@ fn llvm_profdata() -> Option<PathBuf> {
23
}
24
25
#[cargo_test]
26
+// macOS may emit different LLVM PGO warnings.
27
+// Windows LLVM has different requirements.
28
+#[cfg_attr(not(target_os = "linux"), ignore = "linux only")]
29
fn pgo_works() {
- if cfg!(not(target_os = "linux")) {
- // macOS may emit different LLVM PGO warnings.
- // Windows LLVM has different requirements.
30
- return;
31
- }
32
-
33
let Some(llvm_profdata) = llvm_profdata() else {
34
return;
35
};
0 commit comments