rust/tests/ui/panic-runtime
bjorn3 5f63b57589 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().
2025-06-24 19:44:35 +00:00
..
auxiliary Remove dependency injection for the panic runtime 2025-06-24 19:44:35 +00:00
abort-link-to-unwind-dylib.rs tests: use specific-purpose needs-crate-type over ignore-$target directives 2025-04-10 12:52:08 +08:00
abort-link-to-unwind-dylib.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
abort-link-to-unwinding-crates.rs tests: cleanup tests/ui/panic-runtime/abort-link-to-unwinding-crates.rs 2025-01-23 20:51:29 +08:00
abort.rs tests: cleanup tests/ui/panic-runtime/abort.rs 2025-01-23 20:51:29 +08:00
bad-panic-flag1.rs compiletest: Require //~ annotations even if error-pattern is specified 2025-04-03 11:08:55 +03:00
bad-panic-flag1.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
bad-panic-flag2.rs compiletest: Require //~ annotations even if error-pattern is specified 2025-04-03 11:08:55 +03:00
bad-panic-flag2.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
incompatible-type.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
link-to-abort.rs Enable a few tests on macOS 2024-05-28 12:31:12 +02:00
link-to-unwind.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
lto-abort.rs tests: cleanup tests/ui/panic-runtime/lto-abort.rs 2025-01-23 20:51:29 +08:00
lto-unwind.rs tests: cleanup tests/ui/panic-runtime/lto-unwind.rs 2025-01-23 20:51:29 +08:00
need-abort-got-unwind.rs compiletest: Require //~ annotations even if error-pattern is specified 2025-04-03 11:08:55 +03:00
need-abort-got-unwind.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
need-unwind-got-abort.rs compiletest: Require //~ annotations even if error-pattern is specified 2025-04-03 11:08:55 +03:00
need-unwind-got-abort.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
needs-gate.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
needs-gate.stderr Bless tests 2024-01-13 12:46:58 -05:00
transitive-link-a-bunch.rs compiletest: Require //~ annotations even if error-pattern is specified 2025-04-03 11:08:55 +03:00
transitive-link-a-bunch.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
two-panic-runtimes.rs tests: explain why two-panic-runtimes.rs ignores target-dependent errors 2025-05-03 22:44:36 +08:00
unwind-interleaved.rs tests: use needs-subprocess instead of ignore-{wasm32,emscripten,sgx} 2025-01-23 20:51:29 +08:00
unwind-rec.rs tests: use needs-subprocess instead of ignore-{wasm32,emscripten,sgx} 2025-01-23 20:51:29 +08:00
unwind-rec2.rs tests: use needs-subprocess instead of ignore-{wasm32,emscripten,sgx} 2025-01-23 20:51:29 +08:00
unwind-tables-target-required.rs Fix up tests on wasm and msvc, and rebase conflicts 2025-04-03 11:08:55 +03:00
unwind-unique.rs tests: use needs-subprocess instead of ignore-{wasm32,emscripten,sgx} 2025-01-23 20:51:29 +08:00
want-abort-got-unwind.rs tests: justify why want-abort-got-unwind{,2}.rs ignore additional errors 2025-05-03 22:44:36 +08:00
want-abort-got-unwind2.rs tests: justify why want-abort-got-unwind{,2}.rs ignore additional errors 2025-05-03 22:44:36 +08:00
want-unwind-got-abort.rs compiletest: Require //~ annotations even if error-pattern is specified 2025-04-03 11:08:55 +03:00
want-unwind-got-abort.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
want-unwind-got-abort2.rs compiletest: Require //~ annotations even if error-pattern is specified 2025-04-03 11:08:55 +03:00
want-unwind-got-abort2.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00