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 | 9a6f8ccf3aad197b5724e6ba78b30b0d8c98dcc2 (patch) | |
| tree | 36f15a164394fa4ca44da989730f6b125bdb8e76 /tests/codegen/src-hash-algorithm/src-hash-algorithm-sha256.rs | |
| parent | 3a9bfa397dd59eddebb87dba7dc0142bf88184b7 (diff) | |
| parent | 9b80250abb8ebf9f49f51593aee6a7308e0ac3b4 (diff) | |
| download | rust-9a6f8ccf3aad197b5724e6ba78b30b0d8c98dcc2.tar.gz rust-9a6f8ccf3aad197b5724e6ba78b30b0d8c98dcc2.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/codegen/src-hash-algorithm/src-hash-algorithm-sha256.rs')
0 files changed, 0 insertions, 0 deletions
