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

Feature request: *-pc-windows-gnullvm targets #1881

Closed
2 tasks
mati865 opened this issue Jul 8, 2022 · 3 comments · Fixed by #1883
Closed
2 tasks

Feature request: *-pc-windows-gnullvm targets #1881

mati865 opened this issue Jul 8, 2022 · 3 comments · Fixed by #1883
Labels
enhancement New feature or request

Comments

@mati865
Copy link
Contributor

mati865 commented Jul 8, 2022

Motivation

*-pc-windows-gnullvm is a new family of Tier 3 Rust targets (currently only x86_64 and aarch64) that need windows-rs support to be usable. Some discussions happened over #1846

Drawbacks

More maintenance work.

Rationale and alternatives

To match behaviour of current *-windows-msvc and *-windows-gnu targets new crates would have to be made, solely for *-windows-gnullvm.
Alternatively it could be implemented using raw-dylib feature once it stabilises (there is no any E.T.A.) putting any work on these targets on hold.

Additional context

List of remaining work:

  • adding new target crates with tool to generate imports - I can do it soon
  • testing on CI - this is complicated as there are no prebuilt binaries available yet, I plan to provide this target for CLANG64 subsystem at MSYS2 once it becomes usable (is able to build most popular crates - so it requires windows-rs support), until then I can prepare tarballs with those targets for use on the CI
@mati865
Copy link
Contributor Author

mati865 commented Sep 25, 2022

Hello, are there plans to release windows-sys version with the new targets?
On crates.io 0.36 is the latest: https://crates.io/crates/windows-sys

@kennykerr
Copy link
Collaborator

Yes, I'm just waiting for one more fix from win32 metadata (microsoft/win32metadata#1276) and then I plan to release an update early this week.

@kennykerr
Copy link
Collaborator

windows-sys 0.42.0 has now been published!

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

Successfully merging a pull request may close this issue.

2 participants