about summary refs log tree commit diff
path: root/tests/codegen/pgo-counter-bias.rs
diff options
context:
space:
mode:
authorZalathar <Zalathar@users.noreply.github.com>2024-03-16 17:02:30 +1100
committerZalathar <Zalathar@users.noreply.github.com>2024-06-14 13:31:46 +1000
commit5330ccdb345b24be57f051c6659cd3b33a65fdca (patch)
tree0db6d16c3a15ef58ca51232d5d04fd78b9b80252 /tests/codegen/pgo-counter-bias.rs
parent0ef0dd24510b52da980889546fcd15254dc56a23 (diff)
downloadrust-5330ccdb345b24be57f051c6659cd3b33a65fdca.tar.gz
rust-5330ccdb345b24be57f051c6659cd3b33a65fdca.zip
Use `-Zno-profiler-runtime` instead of `//@ needs-profiler-support`
For PGO/coverage tests that don't need to build or run an actual artifact, we
can use `-Zno-profiler-runtime` to run the test even when the profiler runtime
is not available.
Diffstat (limited to 'tests/codegen/pgo-counter-bias.rs')
-rw-r--r--tests/codegen/pgo-counter-bias.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/codegen/pgo-counter-bias.rs b/tests/codegen/pgo-counter-bias.rs
index 87d31073d5a..48e815dda04 100644
--- a/tests/codegen/pgo-counter-bias.rs
+++ b/tests/codegen/pgo-counter-bias.rs
@@ -2,7 +2,7 @@
 
 //@ ignore-apple -runtime-counter-relocation not honored on Mach-O
 //@ compile-flags: -Cprofile-generate -Cllvm-args=-runtime-counter-relocation -Clto=fat
-//@ needs-profiler-support
+//@ compile-flags: -Zno-profiler-runtime
 //@ no-prefer-dynamic
 
 // CHECK: @__llvm_profile_counter_bias = {{.*}}global