|
@@ -125,7 +125,7 @@ const
|
|
NoWorkingUnicodeSupport='$nounicode';
|
|
NoWorkingUnicodeSupport='$nounicode';
|
|
TargetHasNoWorkingUnicodeSupport = 'msdos';
|
|
TargetHasNoWorkingUnicodeSupport = 'msdos';
|
|
NoWorkingThread='$nothread';
|
|
NoWorkingThread='$nothread';
|
|
- TargetHasNoWorkingThreadSupport = 'go32v2,msdos,wasi';
|
|
|
|
|
|
+ TargetHasNoWorkingThreadSupport = 'go32v2,msdos,wasip1';
|
|
|
|
|
|
procedure TranslateConfig(var AConfig: TConfig);
|
|
procedure TranslateConfig(var AConfig: TConfig);
|
|
begin
|
|
begin
|
|
@@ -639,7 +639,7 @@ begin
|
|
end
|
|
end
|
|
else if LTarget='wii' then
|
|
else if LTarget='wii' then
|
|
ExeExt:='.dol'
|
|
ExeExt:='.dol'
|
|
- else if LTarget='wasi' then
|
|
|
|
|
|
+ else if (LTarget='wasip1') or (LTarget='wasip1threads') then
|
|
ExeExt:='.wasm';
|
|
ExeExt:='.wasm';
|
|
end;
|
|
end;
|
|
|
|
|
|
@@ -1132,7 +1132,7 @@ begin
|
|
if ioresult<>0 then
|
|
if ioresult<>0 then
|
|
exit;
|
|
exit;
|
|
GetCompilerTarget;
|
|
GetCompilerTarget;
|
|
- is_wasi:=(CompilerTarget='wasi');
|
|
|
|
|
|
+ is_wasi:=(CompilerTarget='wasip1') or (CompilerTarget='wasip1threads');
|
|
while not eof(t) do
|
|
while not eof(t) do
|
|
begin
|
|
begin
|
|
readln(t,s);
|
|
readln(t,s);
|
|
@@ -1443,7 +1443,7 @@ begin
|
|
ChDir(OldDir);
|
|
ChDir(OldDir);
|
|
{$I+}
|
|
{$I+}
|
|
GetCompilerTarget;
|
|
GetCompilerTarget;
|
|
- if (CompilerTarget='wasi') then
|
|
|
|
|
|
+ if (CompilerTarget='wasip1') or (CompilerTarget='wasip1threads') then
|
|
begin
|
|
begin
|
|
CheckTestExitCode(FullEXELogFile);
|
|
CheckTestExitCode(FullEXELogFile);
|
|
end;
|
|
end;
|