File tree Expand file tree Collapse file tree 1 file changed +2
-10
lines changed Expand file tree Collapse file tree 1 file changed +2
-10
lines changed Original file line number Diff line number Diff line change @@ -23,22 +23,14 @@ pub fn validate_wasm<'a>(
23
23
mut handle_payload : impl FnMut ( Payload < ' a > ) -> VmResult < ( ) > ,
24
24
) -> VmResult < ( ) > {
25
25
let mut validator = Validator :: new_with_features ( WasmFeatures {
26
- mutable_global : false ,
27
- saturating_float_to_int : false ,
28
- sign_extension : true ,
29
- reference_types : true ,
30
- multi_value : false ,
31
- bulk_memory : false ,
26
+ deterministic_only : true ,
32
27
component_model : false ,
33
28
simd : false ,
34
29
relaxed_simd : false ,
35
30
threads : false ,
36
- tail_call : false ,
37
- deterministic_only : true ,
38
31
multi_memory : false ,
39
- exceptions : false ,
40
32
memory64 : false ,
41
- extended_const : false ,
33
+ .. Default :: default ( )
42
34
} ) ;
43
35
44
36
for p in Parser :: new ( 0 ) . parse_all ( wasm_code) {
You can’t perform that action at this time.
0 commit comments