rust/compiler
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
..
rustc
rustc_abi
rustc_arena
rustc_ast Rollup merge of #118157 - Nadrieril:never_pat-feature-gate, r=compiler-errors 2023-11-29 12:34:47 +01:00
rustc_ast_lowering Rollup merge of #118157 - Nadrieril:never_pat-feature-gate, r=compiler-errors 2023-11-29 12:34:47 +01:00
rustc_ast_passes Add never_patterns feature gate 2023-11-29 03:58:29 +01:00
rustc_ast_pretty Rollup merge of #118157 - Nadrieril:never_pat-feature-gate, r=compiler-errors 2023-11-29 12:34:47 +01:00
rustc_attr
rustc_baked_icu_data
rustc_borrowck Fix a typo in a format_args! note 2023-11-28 17:12:20 -08:00
rustc_builtin_macros unwrap return Option value, as it always returns Some for some fns 2023-11-28 14:52:21 +03:00
rustc_codegen_cranelift
rustc_codegen_gcc
rustc_codegen_llvm Add -Zfunction-return={keep,thunk-extern} option 2023-11-30 20:21:31 +01:00
rustc_codegen_ssa Rollup merge of #118378 - cormacrelf:bugfix/linker-plugin-lto-wasm, r=petrochenkov 2023-11-28 16:09:55 +01:00
rustc_const_eval move write_aggregate into step file, and also extract write_repeat into separate function 2023-11-28 11:40:17 +01:00
rustc_data_structures Avoid an unnecessary by_ref. 2023-11-28 14:32:40 +11:00
rustc_driver
rustc_driver_impl
rustc_error_codes Yeet E0744 2023-11-28 20:40:38 +00:00
rustc_error_messages
rustc_errors
rustc_expand
rustc_feature Rollup merge of #118157 - Nadrieril:never_pat-feature-gate, r=compiler-errors 2023-11-29 12:34:47 +01:00
rustc_fluent_macro
rustc_fs_util
rustc_graphviz
rustc_hir Rollup merge of #118157 - Nadrieril:never_pat-feature-gate, r=compiler-errors 2023-11-29 12:34:47 +01:00
rustc_hir_analysis Rollup merge of #118157 - Nadrieril:never_pat-feature-gate, r=compiler-errors 2023-11-29 12:34:47 +01:00
rustc_hir_pretty Add never_patterns feature gate 2023-11-29 03:58:29 +01:00
rustc_hir_typeck Auto merge of #118379 - compiler-errors:const-params-for-partialeq, r=fee1-dead 2023-11-30 05:24:53 +00:00
rustc_incremental
rustc_index
rustc_index_macros
rustc_infer Rollup merge of #118269 - compiler-errors:poly, r=wesleywiser 2023-11-29 04:23:22 +01:00
rustc_interface Add -Zfunction-return={keep,thunk-extern} option 2023-11-30 20:21:31 +01:00
rustc_lexer
rustc_lint Rollup merge of #118157 - Nadrieril:never_pat-feature-gate, r=compiler-errors 2023-11-29 12:34:47 +01:00
rustc_lint_defs
rustc_llvm Add -Zfunction-return={keep,thunk-extern} option 2023-11-30 20:21:31 +01:00
rustc_log
rustc_macros
rustc_metadata
rustc_middle Auto merge of #118379 - compiler-errors:const-params-for-partialeq, r=fee1-dead 2023-11-30 05:24:53 +00:00
rustc_mir_build Auto merge of #118379 - compiler-errors:const-params-for-partialeq, r=fee1-dead 2023-11-30 05:24:53 +00:00
rustc_mir_dataflow
rustc_mir_transform Rollup merge of #118426 - aDotInTheVoid:const-wat, r=compiler-errors,cjgillot 2023-11-29 12:34:50 +01:00
rustc_monomorphize
rustc_parse Avoid unnecessary pattern parse errors on ref box 2023-11-29 18:47:32 +00:00
rustc_parse_format
rustc_passes Rollup merge of #118157 - Nadrieril:never_pat-feature-gate, r=compiler-errors 2023-11-29 12:34:47 +01:00
rustc_privacy
rustc_query_impl
rustc_query_system Auto merge of #118348 - Mark-Simulacrum:feature-code-size, r=compiler-errors 2023-11-29 02:45:36 +00:00
rustc_resolve Rollup merge of #118342 - compiler-errors:macro-generic-bang, r=estebank 2023-11-29 04:23:28 +01:00
rustc_serialize
rustc_session Add -Zfunction-return={keep,thunk-extern} option 2023-11-30 20:21:31 +01:00
rustc_smir Rollup merge of #118172 - ouz-a:improve_emit_stable1, r=celinval 2023-11-27 19:06:47 -05:00
rustc_span Rollup merge of #118157 - Nadrieril:never_pat-feature-gate, r=compiler-errors 2023-11-29 12:34:47 +01:00
rustc_symbol_mangling
rustc_target Pass +forced-atomics feature for riscv32{i,im,imc}-unknown-none-elf 2023-11-28 10:39:37 +09:00
rustc_trait_selection new solver: improve instrument annotations 2023-11-29 19:27:04 +01:00
rustc_traits
rustc_transmute
rustc_ty_utils resolve: Feed the def_kind query immediately on DefId creation 2023-11-28 15:39:31 +03:00
rustc_type_ir
stable_mir Rollup merge of #118172 - ouz-a:improve_emit_stable1, r=celinval 2023-11-27 19:06:47 -05:00