Closed
Description
Consider the following:
We have 2 crates, rlib helper
and the shared library foo
that depends on the helper
crate. The helper crate's lib.rs looks like this:
#[no_mangle]
pub extern fn bla() -> i32 {
5
}
The shared library's lib.rs looks like this:
extern crate helper;
pub use helper::bla;
The code is then compiled to a shared library. The bla symbol is not exported. That does not seem intentional.