Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Windows ARM bindings #225

Draft
wants to merge 7 commits into
base: master
Choose a base branch
from
Draft

Add Windows ARM bindings #225

wants to merge 7 commits into from

Conversation

CGMossa
Copy link
Member

@CGMossa CGMossa commented Apr 22, 2024

Fixes #190

Current status: This is compiling, but it is not producing the right result as none of the machine are Windows ARM machines, and thus, don't have the right Rtools (with the right Rust) installed.

@CGMossa CGMossa marked this pull request as draft April 22, 2024 08:25
@yutannihilation
Copy link
Contributor

Sorry, I didn't know it's this tricky.

https://github.com/r-rust/faq#does-rust-support-windows-on-arm64-aarch64

@CGMossa
Copy link
Member Author

CGMossa commented Apr 22, 2024

Rust doesn't ship with std binaries for these. Somehow, this https://doc.rust-lang.org/cargo/reference/unstable.html#build-std needs to be part of the CI for these new targets.
I have not figured out this.

@CGMossa
Copy link
Member Author

CGMossa commented Apr 22, 2024

Status: What's missing are the appropriate headers. They must be.. somewhere. If someone wants to take over, please do! I'll give this a break for now.

@CGMossa
Copy link
Member Author

CGMossa commented Apr 24, 2024

They are here:

if (ARCH == "arm64") {
    core.addPath(`C:\\rtools44-aarch64\\usr\\bin`);
    core.addPath(`C:\\rtools44-aarch64\\aarch64-w64-mingw32.static.posix\\bin`);
 }

mingw variable needs to be corrected to this, when on Windows+Arm

@CGMossa CGMossa mentioned this pull request Apr 24, 2024
@CGMossa
Copy link
Member Author

CGMossa commented Apr 24, 2024

Okay, while this may compile. It isn't actually installing Rtools with ARM, or anything like that yet.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Bindings for arm64 Windows
2 participants