diff --git a/compiler/wasm32/agbinaryen.pas b/compiler/wasm32/agbinaryen.pas index 9e8110fb64..c312ec0298 100644 --- a/compiler/wasm32/agbinaryen.pas +++ b/compiler/wasm32/agbinaryen.pas @@ -590,7 +590,7 @@ implementation idtxt : 'Binaryen'; asmbin : 'wasm-as'; asmcmd : '$ASM $EXTRAOPT'; - supported_targets : [system_wasm32_wasm]; + supported_targets : [system_wasm32_wasm,system_wasm32_wasi]; flags : []; labelprefix : 'L'; labelmaxlen : -1; diff --git a/compiler/wasm32/agwat.pas b/compiler/wasm32/agwat.pas index bd9725a1fb..a86832a000 100644 --- a/compiler/wasm32/agwat.pas +++ b/compiler/wasm32/agwat.pas @@ -1082,7 +1082,7 @@ implementation idtxt : 'Wabt'; asmbin : 'wasa'; asmcmd : '-r --no-canonicalize-leb128s -o $OBJ $EXTRAOPT $ASM'; - supported_targets : [system_wasm32_wasm]; + supported_targets : [system_wasm32_wasm,system_wasm32_wasi]; flags : []; labelprefix : 'L'; labelmaxlen : -1;