diff options
| author | 许杰友 Jieyou Xu (Joe) <jieyouxu@outlook.com> | 2024-02-22 12:10:29 +0000 |
|---|---|---|
| committer | 许杰友 Jieyou Xu (Joe) <jieyouxu@outlook.com> | 2024-02-22 16:04:04 +0000 |
| commit | 6e48b96692d63a79a14563f27fe5185f122434f8 (patch) | |
| tree | 171bd5869f5d38c5b2b5d8e6dae91884cde9a173 /tests/codegen/tune-cpu-on-functions.rs | |
| parent | cbf10affb04c701c58087f450f63e769ad25f3c4 (diff) | |
| download | rust-6e48b96692d63a79a14563f27fe5185f122434f8.tar.gz rust-6e48b96692d63a79a14563f27fe5185f122434f8.zip | |
[AUTO_GENERATED] Migrate compiletest to use `ui_test`-style `//@` directives
Diffstat (limited to 'tests/codegen/tune-cpu-on-functions.rs')
| -rw-r--r-- | tests/codegen/tune-cpu-on-functions.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/codegen/tune-cpu-on-functions.rs b/tests/codegen/tune-cpu-on-functions.rs index 116f0772d25..dc04c4819af 100644 --- a/tests/codegen/tune-cpu-on-functions.rs +++ b/tests/codegen/tune-cpu-on-functions.rs @@ -1,9 +1,9 @@ // This test makes sure that functions get annotated with the proper // "tune-cpu" attribute in LLVM. -// no-prefer-dynamic +//@ no-prefer-dynamic // -// compile-flags: -C no-prepopulate-passes -C panic=abort -C linker-plugin-lto -Cpasses=name-anon-globals -Z tune-cpu=generic -Copt-level=0 +//@ compile-flags: -C no-prepopulate-passes -C panic=abort -C linker-plugin-lto -Cpasses=name-anon-globals -Z tune-cpu=generic -Copt-level=0 #![crate_type = "staticlib"] |
