File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -26,9 +26,8 @@ pub fn run(u: &mut Unstructured<'_>) -> Result<()> {
2626 } ) ?;
2727 validate_module ( & wasm_bytes) ;
2828
29- // Tail calls aren't implemented in wasmtime, so don't try to run them
30- // there.
31- if config. tail_call_enabled {
29+ // Don't try to run these modules until we update to Wasmtime >=23.
30+ if config. custom_page_sizes_enabled {
3231 return Ok ( ( ) ) ;
3332 }
3433
@@ -38,6 +37,7 @@ pub fn run(u: &mut Unstructured<'_>) -> Result<()> {
3837 let mut eng_conf = wasmtime:: Config :: new ( ) ;
3938 eng_conf. wasm_memory64 ( true ) ;
4039 eng_conf. wasm_multi_memory ( true ) ;
40+ eng_conf. wasm_tail_call ( true ) ;
4141 eng_conf. consume_fuel ( true ) ;
4242 let engine = Engine :: new ( & eng_conf) . unwrap ( ) ;
4343 let module = match Module :: from_binary ( & engine, & wasm_bytes) {
You can’t perform that action at this time.
0 commit comments