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

rust: Switch to using include #3039

Merged
merged 1 commit into from
Sep 12, 2023
Merged

Conversation

cgwalters
Copy link
Member

This way we don't randomly pick up bits from the C library unintentionally as things change on that side.

I think the support for ! in include may be relatively new and that's why the original author here chose to do things via exclude. But using include with a few specific exclusions is just way better.

@cgwalters cgwalters marked this pull request as draft September 8, 2023 11:52
Copy link
Member

@jlebon jlebon left a comment

Choose a reason for hiding this comment

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

Seems sane.

@cgwalters cgwalters marked this pull request as ready for review September 11, 2023 13:41
This way we don't randomly pick up bits from the C library
unintentionally as things change on that side.

I think the support for `!` in `include` may be relatively new
and that's why the original author here chose to do things
via `exclude`.  But using `include` with a few specific exclusions
is just way better.
@jlebon jlebon merged commit 92d25eb into ostreedev:main Sep 12, 2023
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.

2 participants