diff options
| author | bjorn3 <17426603+bjorn3@users.noreply.github.com> | 2025-08-28 09:54:42 +0000 |
|---|---|---|
| committer | bjorn3 <17426603+bjorn3@users.noreply.github.com> | 2025-09-04 08:21:10 +0000 |
| commit | eea81b5d752f5310fcbd5ddae722afc7de0b8fa1 (patch) | |
| tree | 6c631e5afbc48048b5a00961211bec0b90e68ac3 /compiler/rustc_codegen_llvm/src/back | |
| parent | 7a01c7f676cbffba4f14540ae90e4fd82f7b0af1 (diff) | |
| download | rust-eea81b5d752f5310fcbd5ddae722afc7de0b8fa1.tar.gz rust-eea81b5d752f5310fcbd5ddae722afc7de0b8fa1.zip | |
Ensure the allocator shim never participates in LTO
Making it participate in LTO would be incorrect if you compile a crate as both a dylib (which needs it) and rlib (which must not include it) in the same rustc invocation. With linker plugin LTO, the allocator shim will still participate in LTO as it is safe to do so in that case.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/back')
0 files changed, 0 insertions, 0 deletions
