diff options
| author | Dylan DPC <99973273+Dylan-DPC@users.noreply.github.com> | 2022-09-16 11:17:00 +0530 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-09-16 11:17:00 +0530 |
| commit | 61126d3611c173fce47954fc4bf4671a8cea3ce9 (patch) | |
| tree | 4a7d2e4e9853ebcab57c7d51fe9c02ffc0f64c42 /tests/codegen/src-hash-algorithm/src-hash-algorithm-md5.rs | |
| parent | b763cd53f4a2d2eedf043ff34954599b5941fa4d (diff) | |
| parent | 3c184db386ee3e1c4a9ae1b46836d29d657d5f43 (diff) | |
| download | rust-61126d3611c173fce47954fc4bf4671a8cea3ce9.tar.gz rust-61126d3611c173fce47954fc4bf4671a8cea3ce9.zip | |
Rollup merge of #101738 - dpaoliello:linkname, r=petrochenkov
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.
Diffstat (limited to 'tests/codegen/src-hash-algorithm/src-hash-algorithm-md5.rs')
0 files changed, 0 insertions, 0 deletions
