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

Eliminate fuzz/fuzz_nohook redundancy #161

Merged
merged 2 commits into from
Jan 18, 2020
Merged

Eliminate fuzz/fuzz_nohook redundancy #161

merged 2 commits into from
Jan 18, 2020

Conversation

smoelius
Copy link
Member

The common elements of the fuzz! and fuzz_nohook! macros are consolidated into a single macro, __fuzz!. The fuzz! and fuzz_nohook! macros are accordingly altered to use __fuzz!. Eliminating this redundancy should facilitate maintainability.

/// panic!("BOOM")
/// });
/// # }
/// ```
Copy link
Member

Choose a reason for hiding this comment

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

what happened to this doc comment?

Copy link
Member Author

Choose a reason for hiding this comment

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

You're right. It looks like I cut a little too much.

I added a comment explaining the difference between fuzz! and fuzz_nohook! (using the preexisting language).

Copy link
Member

@frewsxcv frewsxcv left a comment

Choose a reason for hiding this comment

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

thanks!

@frewsxcv frewsxcv merged commit 503c194 into rust-fuzz:master Jan 18, 2020
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