+ generate and write the Type section in the WebAssembly internal exe writer

This commit is contained in:
Nikolay Nikolov 2023-12-31 22:47:07 +02:00
parent 3c4a1087f3
commit 2c72b62a0e

View File

@ -4052,10 +4052,13 @@ implementation
begin
result:=false;
{TODO: implement}
FFuncTypes.WriteTo(FWasmSections[wsiType]);
{...}
Writer.write(WasmModuleMagic,SizeOf(WasmModuleMagic));
Writer.write(WasmVersion,SizeOf(WasmVersion));
WriteWasmSection(wsiType);
result := true;
end;