cdylib doesn't include unmangled symbols from dependencies even when explicitly re-exported. #82922
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 code:
in foo.rs:
in bar.rs:
On the console:
I expected to see this happen:
readelf should show my unmangled symbol.
Instead, this happened:
the symbol is missing from the crate.
Meta
rustc --version --verbose
:The text was updated successfully, but these errors were encountered: