rust/compiler/rustc_metadata/src
bors 9a576175cc Auto merge of #84171 - ricobbe:raw-dylib-via-llvm, r=petrochenkov
Partial support for raw-dylib linkage

First cut of functionality for issue #58713: add support for `#[link(kind = "raw-dylib")]` on `extern` blocks in lib crates compiled to .rlib files.  Does not yet support `#[link_name]` attributes on functions, or the `#[link_ordinal]` attribute, or `#[link(kind = "raw-dylib")]` on `extern` blocks in bin crates; I intend to publish subsequent PRs to fill those gaps.  It's also not yet clear whether this works for functions in `extern "stdcall"` blocks; I also intend to investigate that shortly and make any necessary changes as a follow-on PR.

This implementation calls out to an LLVM function to construct the actual `.idata` sections as temporary `.lib` files on disk and then links those into the generated .rlib.
2021-06-06 03:59:17 +00:00
..
dynamic_lib mv compiler to compiler/ 2020-08-30 18:45:07 +03:00
rmeta Auto merge of #86002 - cjgillot:expn_that_defined, r=petrochenkov 2021-06-05 21:10:01 +00:00
creader.rs Revert "Reduce the amount of untracked state in TyCtxt" 2021-06-01 09:05:22 +02:00
dependency_format.rs Collapse all uses of target.options.foo into target.foo 2020-11-08 17:29:13 +03:00
dynamic_lib.rs Change 'NULL' to 'null' 2021-05-02 17:46:00 -06:00
foreign_modules.rs Only store a LocalDefId in hir::ForeignItem. 2021-02-15 19:32:29 +01:00
lib.rs Revert "Reduce the amount of untracked state in TyCtxt" 2021-06-01 09:05:22 +02:00
locator.rs Merge CrateDisambiguator into StableCrateId 2021-05-30 12:51:34 +02:00
native_libs.rs Add first cut of functionality for #58713: support for #[link(kind = "raw-dylib")]. 2021-06-04 18:01:35 -07:00