rust/compiler/rustc_middle
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 Use dep: for crate dependencies 2024-07-15 12:40:10 -04:00
messages.ftl Re-implement a type-size based limit 2024-07-02 15:48:48 -04:00
README.md

For more information about how rustc works, see the rustc dev guide.