Skip to content

Commit

Permalink
wasm-smith: Connect SwarmConfig::max_type_size to its Config impl…
Browse files Browse the repository at this point in the history
…ementation (#476)

The `SwarmConfig::max_type_size` field was otherwise never used.
  • Loading branch information
fitzgen authored Feb 9, 2022
1 parent 4fce4f1 commit e11ef65
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions crates/wasm-smith/src/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -638,6 +638,10 @@ impl Config for SwarmConfig {
self.memory64_enabled
}

fn max_type_size(&self) -> u32 {
self.max_type_size
}

fn canonicalize_nans(&self) -> bool {
self.canonicalize_nans
}
Expand Down

0 comments on commit e11ef65

Please sign in to comment.