Closed
Description
I tried:
#[no_mangle]
pub fn exported() {}
building with:
rustc -Zexport-executable-symbols --crate-type bin
I expected to see this happen:
`exported` is in the list of dynamic symbols
Instead, this happened:
no symbol is exported
in addition, this test case here:
is insufficient, as nm
prints out every symbol, not only the exported ones.
Meta
Tested on:
rustc 1.65.0-nightly (c07a8b4e0 2022-08-26)
rustc 1.65.0-nightly (c2804e6ec 2022-09-07)