rust/compiler/rustc_interface/src
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
..
callbacks.rs Remove an unnecessary drop. 2023-10-30 20:45:11 +11:00
errors.rs Write to stdout if - is given as output file 2023-06-06 17:53:29 -04:00
interface.rs Serialize OutputFilenames into rmeta file 2023-11-26 18:02:42 +00:00
lib.rs Use rustc_fluent_macro::fluent_messages! directly. 2023-11-26 08:38:40 +11:00
passes.rs Auto merge of #117584 - bjorn3:eager_output_filenames, r=b-naber 2023-11-27 00:03:51 +00:00
proc_macro_decls.rs Move expansion of query macros in rustc_middle to rustc_middle::query 2023-05-15 08:49:13 +02:00
queries.rs resolve: Feed the def_kind query immediately on DefId creation 2023-11-28 15:39:31 +03:00
tests.rs Add -Zfunction-return={keep,thunk-extern} option 2023-11-30 20:21:31 +01:00
util.rs QueryContext: rename try_collect_active_jobs -> collect_active_jobs and change it's return type from Option<QueryMap> to QueryMap 2023-11-27 18:13:15 +03:00