summaryrefslogtreecommitdiff
path: root/test/lit/passes/enclose-world.wast
Commit message (Collapse)AuthorAgeFilesLines
* Improve fuzzing of both closed and open world styles of modules (#7090)Alon Zakai2024-11-191-0/+237
Before, we would simply not export a function that had an e.g. anyref param. As a result, the modules were effectively "closed", which was good for testing full closed-world mode, but not for testing degrees of open world. To improve that, this PR allows the fuzzer to export such functions, and an "enclose world" pass is added that "closes" the wasm (makes it more compatible with closed-world) that is run 50% of the time, giving us coverage of both styles.