Module wasi_wast

Source

Modulesยง

wasi_kw ๐Ÿ”’

Structsยง

Args ๐Ÿ”’
AssertReturn ๐Ÿ”’
AssertStderr ๐Ÿ”’
AssertStdout ๐Ÿ”’
Envs ๐Ÿ”’
MapDirs ๐Ÿ”’
OutputCapturerer ๐Ÿ”’
Preopens ๐Ÿ”’
Stdin ๐Ÿ”’
TempDirs ๐Ÿ”’
WasiTest
Crate holding metadata parsed from the WASI WAST about the test to be run.

Enumsยง

WasiFileSystemKind
The kind of filesystem WasiTest is going to use.

Constantsยง

BASE_TEST_DIR ๐Ÿ”’

Functionsยง

get_stdio_output ๐Ÿ”’
map_host_fs_to_mem_fs ๐Ÿ”’
When using virtual_fs::mem_fs, we cannot rely on BASE_TEST_DIR because the host filesystem cannot be used. Instead, we are copying BASE_TEST_DIR to the mem_fs.