diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2024-07-20 13:24:52 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-07-20 13:24:52 +0200 |
| commit | 0c9ba0101164f95ecd0590167ff8878a6445ca03 (patch) | |
| tree | b6df30755aba660e5bfc7bddb43528015d08a9c0 /tests/rustdoc-js-std/parser-errors.js | |
| parent | c1c13bd07ca476c0d9b53b0fa1384ea8a83962e3 (diff) | |
| parent | c01fe3ceac9726b9c79f79efcd694ee5b32cbe29 (diff) | |
| download | rust-0c9ba0101164f95ecd0590167ff8878a6445ca03.tar.gz rust-0c9ba0101164f95ecd0590167ff8878a6445ca03.zip | |
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.
Diffstat (limited to 'tests/rustdoc-js-std/parser-errors.js')
0 files changed, 0 insertions, 0 deletions
