Stream: general

Topic: .wast directives purposes


view this post on Zulip Robin Freyler (Dec 31 2021 at 14:54):

Hi, I am currently trying to write a Wasm spec test suite runner based on the wast crate.
Looking at wast crate documentation yields that even the crate authors did not know about purposes of certain WastDirective:

It’s not entirely clear to me what all of these are per se, but they’re only really interesting to test harnesses mostly.

Source: https://docs.rs/wast/latest/wast/enum.WastDirective.html

I am especially confused by QuoteModule and certain invariants of some WastDirective.
It would be amazing if someone could explain that to me and beyond that maybe we could improve wast crate docs for everybody so that those questions can be answered directly. Sorry if documentation about the .wast format exists somewhere where I was not able to extract or find it.


Last updated: Dec 23 2024 at 12:05 UTC