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

Pre-generate slices of the Windows API #431

Closed
rylev opened this issue Jan 22, 2021 · 1 comment
Closed

Pre-generate slices of the Windows API #431

rylev opened this issue Jan 22, 2021 · 1 comment

Comments

@rylev
Copy link
Contributor

rylev commented Jan 22, 2021

Many are wondering if certain subsets of the API surface could be pre-generated and packaged as crates. This can avoid running the build script and proc-macros on fresh builds which can improve build times.

The questions are:

  • Is this a good idea in the abstract?
  • How should the APIs can partitioned into crates?
    • Should there be one win32 crate with subsections composed by features?
    • Or should each sub API (e.g., direct2d) be its own separate crate?
@rylev
Copy link
Contributor Author

rylev commented Jan 22, 2021

Duplicate of #432. Closing this one in favor of that.

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

No branches or pull requests

1 participant