rust_eh_personality exported by cdylibs #92102
Labels
A-linkage
Area: linking into static, shared libraries and binaries
C-bug
Category: This is a bug.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
I tried this:
I expected to see this happen: No symbols are exported as there are no
#[no_mangle]
symbols in the crate source.Instead, this happened:
rust_eh_personality
is exported. This means that different rustc versions could potentially interfere with unwinding of code compiled by the other rustc version by overriding this symbol.Meta
rustc --version --verbose
:and
The text was updated successfully, but these errors were encountered: