Skip to content

Reduce crate size by excluding fuzz/ and record/ #1281

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

Merged
merged 1 commit into from
Aug 23, 2025

Conversation

erickt
Copy link
Contributor

@erickt erickt commented Aug 22, 2025

The fuzz/ and record/ directories are about 2MiB, and are not used by the end user. This removes them from the crate for future publishes.

Also, this avoids risk of an xz-style attack leveraging the binary files produced by fuzzing, where malicious code could be slipped in past review through binary test data.

The fuzz/ and record/ directories are about 2MiB, and are not used by
the end user. This removes them from the crate for future publishes.

Also, this avoids risk of an [xz-style attack] leveraging the binary
files produced by fuzzing, where malicious code could be slipped in past
review through binary test data.

[zx-style attack]: https://en.wikipedia.org/wiki/XZ_Utils_backdoor
Copy link
Member

@BurntSushi BurntSushi left a comment

Choose a reason for hiding this comment

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

Thanks!

@BurntSushi BurntSushi merged commit 71233b5 into rust-lang:master Aug 23, 2025
16 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