Browse Source

+ added WASI as the list of supported systems for the WASM asm writers

git-svn-id: branches/wasm@46265 -
nickysn 5 years ago
parent
commit
fe01706f1f
2 changed files with 2 additions and 2 deletions
  1. 1 1
      compiler/wasm32/agbinaryen.pas
  2. 1 1
      compiler/wasm32/agwat.pas

+ 1 - 1
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;

+ 1 - 1
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;