Panics do not get fully eliminated from shared libraries compiled for Solaris #131765
Labels
A-linkage
Area: linking into static, shared libraries and binaries
A-panic
Area: Panicking machinery
needs-triage
This issue may need triage. Remove it if it has been sufficiently triaged.
O-solaris
Operating system: Solaris
Let's use the following crate as an example:
Compiler successfully eliminates all panics from generated shared library while compiling for a Linux and many other targets (i.e. the
panic_nonexistent
symbol is not present). But compiling it forx86_64-pc-solaris
(e.g. usingcross build --release --target=x86_64-pc-solaris
) we get a shared library which containsrust_begin_unwind
andpanic_nonexistent
symbols. Here how output ofreadelf -Ws
looks like:The text was updated successfully, but these errors were encountered: