Open
Description
This is the tracking issue for RFC 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:
- Implementation for Windows (top priority) (msvc: Partial support for raw-dylib linkage #84171) (gnu: Implement raw-dylib support for windows-gnu #90782)
- Emitting idata sections
- New
link_ordinal
attribute (Implement#[link_ordinal(n)]
#89025) - Testing in winapi/windows-rs with nightly Rust before stabilization (Enables experimental support for raw-dylib microsoft/windows-rs#977 and Switch Direct2D sample to use raw-dylib microsoft/windows-samples-rs#18)
- Supporting all calling conventions
- cdecl
- stdcall
- fastcall
- vectorcall
- Tests, including all the corner cases mentioned in the reference-level explanation
- Documentation (Add docs for raw-dylib to unstable book #87315)
- Implementation for Linux
- Implementation for macOS
- Implementation for other platforms
- Implementation of a pure Rust target for Windows (no libc, no msvc, no mingw). This may require another RFC
Metadata
Metadata
Assignees
Labels
Area: linking into static, shared libraries and binariesBlocker: Approved by a merged RFC but not yet implemented.Category: An issue tracking the progress of sth. like the implementation of an RFC`#![feature(raw_dylib)]`Operating system: WindowsStatus: The implementation is incomplete.Relevant to the language team, which will review and decide on the PR/issue.