about summary refs log tree commit diff
path: root/tests/rustdoc-js-std/parser-errors.js
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2024-07-20 13:24:52 +0200
committerGitHub <noreply@github.com>2024-07-20 13:24:52 +0200
commit0c9ba0101164f95ecd0590167ff8878a6445ca03 (patch)
treeb6df30755aba660e5bfc7bddb43528015d08a9c0 /tests/rustdoc-js-std/parser-errors.js
parentc1c13bd07ca476c0d9b53b0fa1384ea8a83962e3 (diff)
parentc01fe3ceac9726b9c79f79efcd694ee5b32cbe29 (diff)
downloadrust-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