This removes WithWorkDirFS and any other attempts to resolve the current directory (".") in host functions. This is a reaction to reality of compilers who track this inside wasm (not via host functions). One nice side effect is substantially simpler internal implementation of file-systems.
This also allows experimental.WithFS to block file access via passing nil.
Signed-off-by: Adrian Cole <adrian@tetrate.io>
This directory contains tests which use multiple packages. For example:
asmtests the output of wazero's assembler vs Go's.benchcontains benchmark tests.enginecontains variety of end-to-end tests, mainly to ensure the consistency in the behavior between engines.post1_0contains end-to-end tests for features finished after WebAssembly 1.0 (20191205).spectestcontains end-to-end tests with the WebAssembly specification tests.vstests and benchmarks VS other WebAssembly runtimes.
Note: This doesn't contain WASI tests, as there's not yet an official testsuite. Meanwhile, WASI functions are unit tested including via Text Format imports here