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

Preserve RUSTDOCFLAGS so that custom --cfg settings can be applied. #1016

Merged
merged 2 commits into from
Dec 5, 2024

Conversation

obi1kenobi
Copy link
Owner

@obi1kenobi obi1kenobi commented Dec 5, 2024

Allow users to set --cfg options included when scanning a crate by invoking the tool as:

RUSTDOCFLAGS="--cfg your-cfg-value" cargo semver-checks

@obi1kenobi obi1kenobi enabled auto-merge (squash) December 5, 2024 02:38
@obi1kenobi obi1kenobi force-pushed the preserve_rustdocflags branch from 7da4f2a to 7329513 Compare December 5, 2024 02:41
@obi1kenobi obi1kenobi disabled auto-merge December 5, 2024 02:42
@obi1kenobi obi1kenobi enabled auto-merge (squash) December 5, 2024 02:49
@obi1kenobi
Copy link
Owner Author

Thanks to @wmmc88 for suggesting it in #1012!

@obi1kenobi obi1kenobi merged commit 62817c9 into main Dec 5, 2024
31 checks passed
@obi1kenobi obi1kenobi deleted the preserve_rustdocflags branch December 5, 2024 02:57
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