StructsΒ§
- Common
Wasi πOptions - Mapped
Command - Mapped
Directory - A directory that should be mapped from the host filesystem into a WASI instance (the βguestβ).
- Mounted
Directory - Relative
OrAbsolute πPath Hack
ConstantsΒ§
FunctionsΒ§
- apply_
relative_ πpath_ mounting_ hack - HACK: We need this so users can mount host directories at relative paths. This assumes that the current directory when a runner starts will be β/β, so instead of mounting to a relative path, we just mount to β/$pathβ.
- build_
directory_ πmappings - create_
dir_ πall - prepare_
filesystem π