rust/compiler/rustc_metadata/src
Dylan DPC 61126d3611
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.
2022-09-16 11:17:00 +05:30
..
rmeta make mk_attr_id part of ParseSess 2022-09-14 08:49:10 +08:00
creader.rs Rollup merge of #100928 - CleanCut:rustc_metadata_diagnostics, r=davidtwco 2022-09-03 10:33:05 +05:30
dependency_format.rs Rollup merge of #100928 - CleanCut:rustc_metadata_diagnostics, r=davidtwco 2022-09-03 10:33:05 +05:30
errors.rs change rlib format to discern native dependencies 2022-09-12 16:45:03 +03:00
foreign_modules.rs Remove crate visibility usage in compiler 2022-05-20 20:04:54 -04:00
fs.rs respond to review feedback: mainly eliminate as many conversions as possible... 2022-08-31 10:56:42 -06:00
lib.rs Auto merge of #96709 - jackh726:gats-stabilization, r=compiler-errors 2022-09-13 09:39:41 +00:00
locator.rs Rollup merge of #100928 - CleanCut:rustc_metadata_diagnostics, r=davidtwco 2022-09-03 10:33:05 +05:30
native_libs.rs Rollup merge of #101738 - dpaoliello:linkname, r=petrochenkov 2022-09-16 11:17:00 +05:30