Thread the feature support through to wasmparser.

This commit is contained in:
Nick Lewycky
2019-08-08 19:10:46 -07:00
parent cca419c982
commit 86346d6ebe
2 changed files with 2 additions and 2 deletions

View File

@ -140,7 +140,7 @@ impl<
pub fn validating_parser_config(features: &Features) -> wasmparser::ValidatingParserConfig {
wasmparser::ValidatingParserConfig {
operator_config: wasmparser::OperatorValidatorConfig {
enable_threads: false,
enable_threads: features.threads,
enable_reference_types: false,
enable_simd: features.simd,
enable_bulk_memory: false,