瀏覽代碼

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

git-svn-id: branches/wasm@46265 -
nickysn 5 年之前
父節點
當前提交
fe01706f1f
共有 2 個文件被更改,包括 2 次插入2 次删除
  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';
          idtxt  : 'Binaryen';
          asmbin : 'wasm-as';
          asmbin : 'wasm-as';
          asmcmd : '$ASM $EXTRAOPT';
          asmcmd : '$ASM $EXTRAOPT';
-         supported_targets : [system_wasm32_wasm];
+         supported_targets : [system_wasm32_wasm,system_wasm32_wasi];
          flags : [];
          flags : [];
          labelprefix : 'L';
          labelprefix : 'L';
          labelmaxlen : -1;
          labelmaxlen : -1;

+ 1 - 1
compiler/wasm32/agwat.pas

@@ -1082,7 +1082,7 @@ implementation
          idtxt  : 'Wabt';
          idtxt  : 'Wabt';
          asmbin : 'wasa';
          asmbin : 'wasa';
          asmcmd : '-r --no-canonicalize-leb128s -o $OBJ $EXTRAOPT $ASM';
          asmcmd : '-r --no-canonicalize-leb128s -o $OBJ $EXTRAOPT $ASM';
-         supported_targets : [system_wasm32_wasm];
+         supported_targets : [system_wasm32_wasm,system_wasm32_wasi];
          flags : [];
          flags : [];
          labelprefix : 'L';
          labelprefix : 'L';
          labelmaxlen : -1;
          labelmaxlen : -1;