mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-21 20:29:32 +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
|
||||
result:=false;
|
||||
|
||||
{TODO: implement}
|
||||
FFuncTypes.WriteTo(FWasmSections[wsiType]);
|
||||
|
||||
{...}
|
||||
|
||||
Writer.write(WasmModuleMagic,SizeOf(WasmModuleMagic));
|
||||
Writer.write(WasmVersion,SizeOf(WasmVersion));
|
||||
WriteWasmSection(wsiType);
|
||||
|
||||
result := true;
|
||||
end;
|
||||
|
Loading…
Reference in New Issue
Block a user