This is the tracking issue for [RFC 2627](https://github.com/rust-lang/rfcs/pull/2627), `#[link(kind="raw-dylib")]`. **Note:** `raw-dylib` and `link_ordinal` are now stabilized in 1.65 on Windows for x86_64, aarch64, and thumbv7a (not 32-bit x86) via #99916. Opens: - [x] Implementation for Windows (top priority) (msvc: #84171) (gnu: #90782) - [x] Emitting idata sections - [x] New `link_ordinal` attribute (#89025) - [x] Testing in winapi/windows-rs with nightly Rust before stabilization (https://github.com/microsoft/windows-rs/pull/977 and https://github.com/microsoft/windows-samples-rs/pull/18) - [x] Supporting all calling conventions - [x] cdecl - [x] stdcall - [x] fastcall - [x] vectorcall - [ ] Tests, including all the corner cases mentioned in the reference-level explanation - [x] Documentation (https://github.com/rust-lang/rust/pull/87315) - [x] Implementation for Linux (https://github.com/rust-lang/rust/issues/135694) - [ ] Stabilized? - [ ] Implementation for macOS (https://github.com/rust-lang/rust/issues/146356) - [ ] Stabilized? - [ ] Implementation for other platforms - [ ] Implementation of a pure Rust target for Windows (no libc, no msvc, no mingw). This may require another RFC <!-- TRIAGEBOT_START --> <!-- TRIAGEBOT_ASSIGN_START --> <!-- TRIAGEBOT_ASSIGN_DATA_START$${"user":"dpaoliello"}$$TRIAGEBOT_ASSIGN_DATA_END --> <!-- TRIAGEBOT_ASSIGN_END --> <!-- TRIAGEBOT_END -->
This is the tracking issue for RFC 2627,
#[link(kind="raw-dylib")].Note:
raw-dylibandlink_ordinalare now stabilized in 1.65 on Windows for x86_64, aarch64, and thumbv7a (not 32-bit x86) via #99916.Opens:
link_ordinalattribute (Implement#[link_ordinal(n)]#89025)raw_dylib_macho#146356)