Expand description
Parse annotated wat into wasm object files with linking and reloc.CODE
custom sections.
The main entry point is parse_rwat, which accepts wat source using the
(@rwat), (@sym), and (@reloc) annotations and returns encoded wasm
bytes suitable for linking with tools such as wasm-ld.
Structs§
- Parse
Options - Options used when parsing annotated wat input.
Functions§
- parse_
rwat - Parses annotated wat into relocatable wasm file.
- parse_
rwat_ with - Parses annotated wat into relocatable wasm using explicit parse options.