summaryrefslogtreecommitdiff
path: root/include/wabt/binary.h
Commit message (Collapse)AuthorAgeFilesLines
* Issue a nicer error message on wasm components. (#2515)Dan Gohman2024-12-061-0/+2
| | | | | | | | | | | | Decode just enough of the component binary format to recognize when the input is a component, and issue a dedicated error message for it. Before: 0000008: error: bad wasm file version: 0x1000d (expected 0x1) After: 0000008: error: wasm components are not yet supported in this tool
* Add support for the custom-page-sizes proposal (#2502)Keith Winstein2024-11-081-1/+6
| | | | This adds support in the binary/text parsers and writers, the validator and interpreter, and objdump (but not wasm2c).
* Update ID for tag name subsection (#2336)Michael Williamson2023-11-271-6/+2
| | | | | | | The tag name subsection currently has the speculative ID of 10. However, the extended-name-section proposal has now been updated to use an ID of 11 for the tag name section. This updates the NameSectionSubsection enum accordingly, as well as adding a field name section with the ID of 10.
* Prefer `constexpr` over `static const`. NFC (#2065)Sam Clegg2022-11-151-1/+1
| | | IIUC this is preferred in modern C++ and expresses indent better.
* Move headers to include/wabt/ (#1998)Alex Reinking2022-09-281-0/+106
This makes things easier for users and packagers of libwabt.