diff options
| author | bors <bors@rust-lang.org> | 2024-02-25 09:50:42 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2024-02-25 09:50:42 +0000 |
| commit | 02ee5647a25582495d961d375709195f0a7fb5ed (patch) | |
| tree | 18b2e9a10d6429bea559a3a39bc23363fe446c43 /tests/codegen/function-return.rs | |
| parent | 9577051174b9c77ffc4c5b427d90ba49608d5697 (diff) | |
| parent | 87042866a3c9000cf7ec83a6ed00504a2a00b761 (diff) | |
| download | rust-02ee5647a25582495d961d375709195f0a7fb5ed.tar.gz rust-02ee5647a25582495d961d375709195f0a7fb5ed.zip | |
Auto merge of #3320 - RalfJung:rustup, r=RalfJung
Rustup Let's see if https://github.com/rust-lang/rust/pull/121114 gets perf back to the old level.
Diffstat (limited to 'tests/codegen/function-return.rs')
| -rw-r--r-- | tests/codegen/function-return.rs | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/tests/codegen/function-return.rs b/tests/codegen/function-return.rs index d832d19ac39..0ca1a41ee86 100644 --- a/tests/codegen/function-return.rs +++ b/tests/codegen/function-return.rs @@ -1,13 +1,13 @@ // Test that the `fn_ret_thunk_extern` function attribute is (not) emitted when // the `-Zfunction-return={keep,thunk-extern}` flag is (not) set. -// revisions: unset keep thunk-extern keep-thunk-extern thunk-extern-keep -// needs-llvm-components: x86 -// compile-flags: --target x86_64-unknown-linux-gnu -// [keep] compile-flags: -Zfunction-return=keep -// [thunk-extern] compile-flags: -Zfunction-return=thunk-extern -// [keep-thunk-extern] compile-flags: -Zfunction-return=keep -Zfunction-return=thunk-extern -// [thunk-extern-keep] compile-flags: -Zfunction-return=thunk-extern -Zfunction-return=keep +//@ revisions: unset keep thunk-extern keep-thunk-extern thunk-extern-keep +//@ needs-llvm-components: x86 +//@ compile-flags: --target x86_64-unknown-linux-gnu +//@ [keep] compile-flags: -Zfunction-return=keep +//@ [thunk-extern] compile-flags: -Zfunction-return=thunk-extern +//@ [keep-thunk-extern] compile-flags: -Zfunction-return=keep -Zfunction-return=thunk-extern +//@ [thunk-extern-keep] compile-flags: -Zfunction-return=thunk-extern -Zfunction-return=keep #![crate_type = "lib"] #![feature(no_core, lang_items)] |
