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

Perform some long-needed maintenance here #33

Merged
merged 11 commits into from
Jan 27, 2024

Conversation

alexcrichton
Copy link
Owner

  • Update to the 2021 edition
  • Extract a fuzzer
  • Add some helper methods required by fuzzing (ported from dlmalloc.c)
  • Modernize a bit of code by removing as casts and using more modern abstractions
  • Add MIRI testing in CI (just tree borrows for now haven't gotten stack borrows working yet)

The fuzzer is based on the old `stress` test but refactored to use an
`arbitrary::Unstructured` instead.

Also some improvements such as:

* Moving to the 2021 edition
* Updating the `rand` dependency
The `destroy` method is required to ensure that between fuzz runs all
memory is released back to the system.
@alexcrichton alexcrichton merged commit 9a0e6a1 into main Jan 27, 2024
16 checks passed
@alexcrichton alexcrichton deleted the miri-and-fuzz-and-update branch January 27, 2024 23:26
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