mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-16 05:29:40 +02:00
+ generate and write the Type section in the WebAssembly internal exe writer
This commit is contained in:
parent
3c4a1087f3
commit
2c72b62a0e
@ -4052,10 +4052,13 @@ implementation
|
|||||||
begin
|
begin
|
||||||
result:=false;
|
result:=false;
|
||||||
|
|
||||||
{TODO: implement}
|
FFuncTypes.WriteTo(FWasmSections[wsiType]);
|
||||||
|
|
||||||
|
{...}
|
||||||
|
|
||||||
Writer.write(WasmModuleMagic,SizeOf(WasmModuleMagic));
|
Writer.write(WasmModuleMagic,SizeOf(WasmModuleMagic));
|
||||||
Writer.write(WasmVersion,SizeOf(WasmVersion));
|
Writer.write(WasmVersion,SizeOf(WasmVersion));
|
||||||
|
WriteWasmSection(wsiType);
|
||||||
|
|
||||||
result := true;
|
result := true;
|
||||||
end;
|
end;
|
||||||
|
Loading…
Reference in New Issue
Block a user