diff options
| author | joboet <jonasboettiger@icloud.com> | 2025-03-29 12:16:49 +0100 |
|---|---|---|
| committer | joboet <jonasboettiger@icloud.com> | 2025-05-15 11:20:13 +0200 |
| commit | b7f2cd3a2b1606934018cc64bac52bb887ea892a (patch) | |
| tree | fc7da5ba2b2f5caa5ab7c8ba4a6f8f30ff623462 /compiler/rustc_codegen_llvm/src/errors.rs | |
| parent | 414482f6a0d4e7290f614300581a0b55442552a3 (diff) | |
| download | rust-b7f2cd3a2b1606934018cc64bac52bb887ea892a.tar.gz rust-b7f2cd3a2b1606934018cc64bac52bb887ea892a.zip | |
deduplicate abort implementations
Currently, the code for process aborts is duplicated across `panic_abort` and `std`. This PR uses `#[rustc_std_internal_symbol]` to make the `std` implementation available to `panic_abort` via the linker, thereby deduplicating the code.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/errors.rs')
0 files changed, 0 insertions, 0 deletions
