-
-
Notifications
You must be signed in to change notification settings - Fork 14.8k
Cross-compiling raw-dylib doesn't work on Windows #103939
Copy link
Copy link
Open
Labels
C-bugCategory: This is a bug.Category: This is a bug.F-raw_dylib`#![feature(raw_dylib)]``#![feature(raw_dylib)]`O-windows-gnuToolchain: GNU, Operating system: WindowsToolchain: GNU, Operating system: WindowsT-compilerRelevant to the compiler team, which will review and decide on the PR/issue.Relevant to the compiler team, which will review and decide on the PR/issue.
Metadata
Metadata
Assignees
Labels
C-bugCategory: This is a bug.Category: This is a bug.F-raw_dylib`#![feature(raw_dylib)]``#![feature(raw_dylib)]`O-windows-gnuToolchain: GNU, Operating system: WindowsToolchain: GNU, Operating system: WindowsT-compilerRelevant to the compiler team, which will review and decide on the PR/issue.Relevant to the compiler team, which will review and decide on the PR/issue.
Type
Fields
Give feedbackNo fields configured for issues without a type.
View all comments
I tried this code:
I expected to see this happen:
Successful compilation
Instead, this happened:
Worth mentioning it works fine when building natively from x86_64 to x86_64 target.
Meta
rustc --version --verbose: