-
Notifications
You must be signed in to change notification settings - Fork 263
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
wasm-smith
: Deduplicate and devirtualize configuration (#1351)
* wasm-smith: Deduplicate and devirtualize configuration This makes it so that we don't have three or four places where each config option needs to be enumerated anymore and also removes the `Config` trait and replaces it with a `Config` struct (what used to be the `SwarmConfig` struct). This struct implements `Arbitrary` and therefore you can still do swarm testing by generating an arbitrary config and then using that to generate a module. There is also no difference between `Module` and `ConfiguredModule` anymore. Overall, I feel like this is a big clean up, and also should in theory make module generation a little faster since there won't be so many indirect calls. * Fix some compile errors * Fix fuzz target compilation * Fix some warnings and errors in the doc build * Fix more fuzz target compilation errors
- Loading branch information
Showing
18 changed files
with
1,020 additions
and
1,466 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.