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

Remove unused bindgen options #1994

Merged
merged 1 commit into from Aug 31, 2022
Merged

Remove unused bindgen options #1994

merged 1 commit into from Aug 31, 2022

Conversation

kennykerr
Copy link
Collaborator

These options were used by the internal bindings as well as Xaml code generation and are no longer needed.

@kennykerr kennykerr requested a review from riverar August 31, 2022 15:15
Copy link
Collaborator

@riverar riverar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, though I made a plea for windows_extern.

pub min_enum: bool,
pub min_inherit: bool,
pub min_xaml: bool,
pub windows_extern: bool,
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So windows_extern is critical for anyone that wants to build on top of this crate and expose features dependent on upstream features (e.g. windows-app-rs). I don't think we have any active crates using this at this very moment, but I'd vote for keeping this as it has minimal impacts to bindgen and removes a significant crate adoption roadblock, especially for those looking to transform additional Microsoft SDKs.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm just not sure how common that is or whether that was something you'll only hit when you're doing some crazy like Xaml or WinAppSDK. The DIA example doesn't appear to need that.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fair. We can re-add easy enough when a new case presents itself.

@kennykerr kennykerr merged commit 60910cf into master Aug 31, 2022
@kennykerr kennykerr deleted the simpler-bindgen branch August 31, 2022 18:01
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

2 participants