os-rust/compiler/rustc_codegen_ssa
Matthias Krüger 9a6f8ccf3a
Rollup merge of #127779 - momvart:should_codegen_hook, r=cjgillot
Add a hook for `should_codegen_locally`

This PR lifts the module-local function `should_codegen_locally` to `TyCtxt` as a hook.
In addition to monomorphization, this function is used for checking the dependency of `compiler_builtins` on other libraries. Moving this function to the hooks also makes overriding it possible for the tools that use the rustc interface.
2024-07-20 13:24:52 +02:00
..
src Rollup merge of #127779 - momvart:should_codegen_hook, r=cjgillot 2024-07-20 13:24:52 +02:00
Cargo.toml Sync ar_archive_writer to LLVM 18.1.3 2024-07-07 16:56:35 +00:00
messages.ftl coverage: Tighten validation of #[coverage(off)] and #[coverage(on)] 2024-06-24 20:15:01 +10:00
README.md mv compiler to compiler/ 2020-08-30 18:45:07 +03:00

Please read the rustc-dev-guide chapter on Backend Agnostic Codegen.