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

The build macro redirects to pre-packaged Windows APIs #1338

Merged
merged 2 commits into from
Nov 17, 2021
Merged

Conversation

kennykerr
Copy link
Collaborator

The build macro generates bindings for desired APIs from metadata. The need for this macro is substantially reduced with the introduction of pre-packaged APIs in 0.22 but is still useful if you have a 3rd party component. This update just ensures that any references to Windows APIs from such non-Windows APIs redirect to the windows crate rather than generating entirely new bindings for the Windows API.

The build_legacy macro has been added temporarily to provide the old behavior but this macro will eventually be removed.

@kennykerr kennykerr changed the title The build macro redirects to pre-packages Windows APIs The build macro redirects to pre-packaged Windows APIs Nov 17, 2021
@kennykerr kennykerr merged commit 3866b6d into master Nov 17, 2021
@kennykerr kennykerr deleted the redirect2 branch November 17, 2021 23:37
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.

None yet

1 participant