rust/compiler/rustc_middle/src/middle
Jubilee 6c17601a2e
Rollup merge of #89025 - ricobbe:raw-dylib-link-ordinal, r=michaelwoerister
Implement `#[link_ordinal(n)]`

Allows the use of `#[link_ordinal(n)]` with `#[link(kind = "raw-dylib")]`, allowing Rust to link against DLLs that export symbols by ordinal rather than by name.  As long as the ordinal matches, the name of the function in Rust is not required to match the name of the corresponding function in the exporting DLL.

Part of #58713.
2021-10-07 20:26:11 -07:00
..
codegen_fn_attrs.rs Implement #[link_ordinal] attribute in the context of #[link(kind = "raw-dylib")]. 2021-09-20 14:50:35 -07:00
dependency_format.rs mv compiler to compiler/ 2020-08-30 18:45:07 +03:00
exported_symbols.rs Revert "Revert "Merge CrateDisambiguator into StableCrateId"" 2021-07-06 11:28:04 +02:00
lang_items.rs don't take TyCtxt by reference 2020-09-18 20:49:25 +02:00
limits.rs Remove Session.used_attrs and move logic to CheckAttrVisitor 2021-08-21 13:27:27 -05:00
mod.rs Move rustc_middle::middle::cstore to rustc_session. 2021-10-03 16:08:51 +02:00
privacy.rs Move ICH to rustc_query_system. 2021-10-03 16:08:53 +02:00
region.rs Remove re-export. 2021-10-03 16:08:54 +02:00
resolve_lifetime.rs improve diagnosts for GATs 2021-05-11 14:09:46 +02:00
stability.rs Remove visible path calculation from allowed deprecation lint 2021-09-30 15:15:10 +04:00