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

Probe: Introduce GlobalOptions to handle allocations and resolvers #321

Merged
merged 1 commit into from
Jan 3, 2024

Conversation

Serial-ATA
Copy link
Owner

This moves ParseOptions::{use_custom_resolvers, allocation_limit} to the new GlobalOptions struct. This makes it easier to check for certain options in places where ParseOptions may not be available.

GlobalOptions are not truly global, they only apply to the current thread.

This moves `ParseOptions::{use_custom_resolvers, allocation_limit}` to the new `GlobalOptions` struct. This makes it easier to check for certain options in places where `ParseOptions` may not be available.

`GlobalOptions` are not truly global, they only apply to the current thread.
@Serial-ATA Serial-ATA merged commit 3a9a2de into main Jan 3, 2024
12 checks passed
@Serial-ATA Serial-ATA deleted the global-options branch January 3, 2024 00:06
@Serial-ATA Serial-ATA added this to the 0.18.0 milestone Jan 3, 2024
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

1 participant