Skip to main content

Crate wasi_virt_layer_cli

Crate wasi_virt_layer_cli 

Source
Expand description

CLI tool for creating and inspecting WASI virtualized binaries.

Provides commands and generator internals wasi_virt_layer.

Modules§

abi
WASI ABI transformation and generation constants.
args
CLI argument parsing structures and definitions.
commands
Handlers for various CLI subcommands.
compile
Compilation routines for Wasm virtual filesystems.
config_checker
Checks and manages features required in Cargo configs.
ctrlc_handler
Signal handler for graceful termination (e.g., Ctrl-C).
down_color
Helper logic to lower text colors and apply them.
fallback_command
Contains fallback execution processes (managed via locks).
feature_extractor
Extracts and associates features with their target Wasm modules based on command line order.
gen_ts_helper
Generate TypeScript helper code for VFS modules. Generate TypeScript helper code for VFS modules.
generator
Internal generators for modifying and stitching Wasm structures.
instrs
Instruction scanning and rewriting utilities for Walrus IR.
test_run
Utilities for running integration tests against Wasm runtimes.
unique_name
Utilities for generating globally unique IDs/names within Wasm modules. Provides mechanisms to generate unique non-colliding crate identifiers and exports for WASM modules.
util
General utility functions for CLI logic and AST operations.

Functions§

main
Central execution entrypoint for the CLI logic