mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-26 08:44:35 +00:00
61126d3611
Fix `#[link kind="raw-dylib"]` to respect `#[link_name]` Issue Details: When using `#[link kind="raw-dylib"]` (#58713), the Rust compiler ignored any `#[link_name]` attributes when generating the import library and so the resulting binary would fail to link due to missing symbols. Fix Details: Use the name from `#[link_name]` if present when generating the `raw-dylib` import library, otherwise default back to the actual symbol name. |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |