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 code for unused template param detection. #1446

Merged
merged 6 commits into from
Feb 24, 2025

Conversation

adetaylor
Copy link
Collaborator

This was reported two different ways by bindgen; I can't think of a reason we'd need both. Disable one of those ways.

Specifically, it should be:

  • Reported by callback when announcing a type;
  • Reported by wrapping any instances of that type in bindgen_marker_UnusedTemplateParam

We'll disregard the second one. Then we don't need to upstream it as part of #124.

This was reported two different ways by bindgen; I can't think of a reason we'd
need both. Disable one of those ways.

Specifically, it should be:
* Reported by callback when announcing a type;
* Reported by wrapping any instances of that type in
  bindgen_marker_UnusedTemplateParam<T>

We'll disregard the second one.
@adetaylor adetaylor mentioned this pull request Feb 22, 2025
8 tasks
@adetaylor adetaylor merged commit 5b247ed into main Feb 24, 2025
21 checks passed
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.

1 participant