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

Use explicit paths rather than glob imports for zstd wrapper types. #286

Merged
merged 1 commit into from
Jul 21, 2024

Conversation

quantatic
Copy link
Contributor

#285 adds wrapper types for DParameter, but uses glob imports to pull the libzstd::stream::raw::{C,D}Parameter types into scope. This introduces a possible forwards-compatability hazard if libzstd were to introduce {C,D}Parameter enum variants with the same name.

This PR uses explicit paths for referencing these wrapper types, to avoid this possibility.

@robjtede robjtede added this pull request to the merge queue Jul 21, 2024
Copy link
Member

@robjtede robjtede left a comment

Choose a reason for hiding this comment

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

thanks 👍🏻

Merged via the queue into Nullus157:main with commit ca2245c Jul 21, 2024
16 checks passed
@robjtede robjtede added the A-semver-norelease change that does not require a release label Jul 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-semver-norelease change that does not require a release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants