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
exported_symbols.rs
lang_items.rs
limits.rs
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
stability.rs Remove visible path calculation from allowed deprecation lint 2021-09-30 15:15:10 +04:00