rust/tests/ui/invalid-compile-flags
Miguel Ojeda 2d476222e8 Add -Zfunction-return={keep,thunk-extern} option
This is intended to be used for Linux kernel RETHUNK builds.

With this commit (optionally backported to Rust 1.73.0), plus a
patched Linux kernel to pass the flag, I get a RETHUNK build with
Rust enabled that is `objtool`-warning-free and is able to boot in
QEMU and load a sample Rust kernel module.

Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
2023-11-30 20:21:31 +01:00
..
function-return Add -Zfunction-return={keep,thunk-extern} option 2023-11-30 20:21:31 +01:00
branch-protection-missing-pac-ret.BADFLAGS.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
branch-protection-missing-pac-ret.BADTARGET.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
branch-protection-missing-pac-ret.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
codegen-option-without-group.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
codegen-option-without-group.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
debug-option-without-group.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
debug-option-without-group.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
invalid-llvm-passes.rs Move invalid-llvm-passes test to invalid-compile-flags folder 2023-10-20 14:59:26 +02:00
invalid-llvm-passes.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00