rust/compiler/rustc_llvm
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
..
llvm-wrapper Add -Zfunction-return={keep,thunk-extern} option 2023-11-30 20:21:31 +01:00
src Bump cfg(bootstrap)s 2023-11-15 19:41:28 -05:00
build.rs Rollup merge of #114224 - inferiorhumanorgans:solaris-llvm-wrapper, r=cuviper 2023-11-13 21:28:54 +01:00
Cargo.toml Clean up rustc_*/Cargo.toml. 2023-10-30 08:46:02 +11:00