about summary refs log tree commit diff
path: root/compiler/rustc_pattern_analysis/src/errors.rs
diff options
context:
space:
mode:
authorbjorn3 <17426603+bjorn3@users.noreply.github.com>2025-05-08 11:32:22 +0000
committerbjorn3 <17426603+bjorn3@users.noreply.github.com>2025-06-24 19:44:35 +0000
commit5f63b5758969872add239e477b9a49cea08cc921 (patch)
tree109231ebf192dfc3503f8a5572564b5cfa57bc6d /compiler/rustc_pattern_analysis/src/errors.rs
parent0cdd7f50b06fb363a2e8b0f6d270e0ed14476af8 (diff)
downloadrust-5f63b5758969872add239e477b9a49cea08cc921.tar.gz
rust-5f63b5758969872add239e477b9a49cea08cc921.zip
Remove dependency injection for the panic runtime
This used to be necessary for a correct linker order, but ever since the
introduction of symbols.o adding the symbols in question to symbols.o
would work just as well. We do still add dependencies on the panic runtime
to the local crate, but not for #![needs_panic_runtime] crates.

This also removes the runtime-depends-on-needs-runtime test.
inject_dependency_if used to emit this error, but with symbols.o it is
no longer important that there is no dependency and in fact it may be
nice to have panic_abort and panic_unwind directly depend on libstd in
the future for calling std::process::abort().
Diffstat (limited to 'compiler/rustc_pattern_analysis/src/errors.rs')
0 files changed, 0 insertions, 0 deletions