Crate test_programs_artifacts

Source

Macros§

foreach_api
foreach_cli
foreach_config
foreach_dwarf
foreach_http
foreach_keyvalue
foreach_nn
foreach_piped
foreach_preview1
foreach_preview2
foreach_tls

Constants§

API_PROXY
API_PROXY_COMPONENT
API_PROXY_FORWARD_REQUEST
API_PROXY_FORWARD_REQUEST_COMPONENT
API_PROXY_STREAMING
API_PROXY_STREAMING_COMPONENT
API_REACTOR
API_REACTOR_COMPONENT
API_READ_ONLY
API_READ_ONLY_COMPONENT
API_TIME
API_TIME_COMPONENT
CLI_ARGS
CLI_ARGS_COMPONENT
CLI_ARGV0
CLI_ARGV0_COMPONENT
CLI_DEFAULT_CLOCKS
CLI_DEFAULT_CLOCKS_COMPONENT
CLI_DIRECTORY_LIST
CLI_DIRECTORY_LIST_COMPONENT
CLI_ENV
CLI_ENV_COMPONENT
CLI_EXIT_DEFAULT
CLI_EXIT_DEFAULT_COMPONENT
CLI_EXIT_FAILURE
CLI_EXIT_FAILURE_COMPONENT
CLI_EXIT_PANIC
CLI_EXIT_PANIC_COMPONENT
CLI_EXIT_SUCCESS
CLI_EXIT_SUCCESS_COMPONENT
CLI_EXIT_WITH_CODE
CLI_EXIT_WITH_CODE_COMPONENT
CLI_EXPORT_CABI_REALLOC
CLI_EXPORT_CABI_REALLOC_COMPONENT
CLI_FILE_APPEND
CLI_FILE_APPEND_COMPONENT
CLI_FILE_DIR_SYNC
CLI_FILE_DIR_SYNC_COMPONENT
CLI_FILE_READ
CLI_FILE_READ_COMPONENT
CLI_HELLO_STDOUT
CLI_HELLO_STDOUT_COMPONENT
CLI_LARGE_ENV
CLI_LARGE_ENV_COMPONENT
CLI_MULTIPLE_PREOPENS
CLI_MULTIPLE_PREOPENS_COMPONENT
CLI_NO_IP_NAME_LOOKUP
CLI_NO_IP_NAME_LOOKUP_COMPONENT
CLI_NO_TCP
CLI_NO_TCP_COMPONENT
CLI_NO_UDP
CLI_NO_UDP_COMPONENT
CLI_SERVE_AUTHORITY_AND_SCHEME
CLI_SERVE_AUTHORITY_AND_SCHEME_COMPONENT
CLI_SERVE_CONFIG
CLI_SERVE_CONFIG_COMPONENT
CLI_SERVE_ECHO_ENV
CLI_SERVE_ECHO_ENV_COMPONENT
CLI_SERVE_KEYVALUE
CLI_SERVE_KEYVALUE_COMPONENT
CLI_SERVE_RETURN_BEFORE_SET
CLI_SERVE_RETURN_BEFORE_SET_COMPONENT
CLI_SERVE_TRAP_BEFORE_SET
CLI_SERVE_TRAP_BEFORE_SET_COMPONENT
CLI_SERVE_WITH_PRINT
CLI_SERVE_WITH_PRINT_COMPONENT
CLI_SLEEP
CLI_SLEEP_COMPONENT
CLI_SLEEP_FOREVER
CLI_SLEEP_FOREVER_COMPONENT
CLI_SPLICE_STDIN
CLI_SPLICE_STDIN_COMPONENT
CLI_STDIN
CLI_STDIN_COMPONENT
CLI_STDIN_EMPTY
CLI_STDIN_EMPTY_COMPONENT
CLI_STDIO_WRITE_FLUSHES
CLI_STDIO_WRITE_FLUSHES_COMPONENT
CODEGEN_OPTIMIZED_WASM_PATH
CONFIG_GET
CONFIG_GET_COMPONENT
DEAD_CODE_WASM_PATH
DWARF_FISSION_WASM_PATH
DWARF_IMPORTED_MEMORY
DWARF_MULTIPLE_CODEGEN_UNITS
DWARF_MULTIPLE_CODEGEN_UNITS_COMPONENT
DWARF_SHARED_MEMORY
DWARF_SIMPLE
DWARF_SIMPLE_COMPONENT
FIB_WASM_DWARF5_WASM_PATH
FIB_WASM_SPLIT4_WASM_PATH
FIB_WASM_WASM_PATH
FRACTION_NORM_WASM_PATH
GENERIC_WASM_PATH
HTTP_OUTBOUND_REQUEST_CONTENT_LENGTH
HTTP_OUTBOUND_REQUEST_CONTENT_LENGTH_COMPONENT
HTTP_OUTBOUND_REQUEST_GET
HTTP_OUTBOUND_REQUEST_GET_COMPONENT
HTTP_OUTBOUND_REQUEST_INVALID_DNSNAME
HTTP_OUTBOUND_REQUEST_INVALID_DNSNAME_COMPONENT
HTTP_OUTBOUND_REQUEST_INVALID_HEADER
HTTP_OUTBOUND_REQUEST_INVALID_HEADER_COMPONENT
HTTP_OUTBOUND_REQUEST_INVALID_PORT
HTTP_OUTBOUND_REQUEST_INVALID_PORT_COMPONENT
HTTP_OUTBOUND_REQUEST_INVALID_VERSION
HTTP_OUTBOUND_REQUEST_INVALID_VERSION_COMPONENT
HTTP_OUTBOUND_REQUEST_LARGE_POST
HTTP_OUTBOUND_REQUEST_LARGE_POST_COMPONENT
HTTP_OUTBOUND_REQUEST_MISSING_PATH_AND_QUERY
HTTP_OUTBOUND_REQUEST_MISSING_PATH_AND_QUERY_COMPONENT
HTTP_OUTBOUND_REQUEST_POST
HTTP_OUTBOUND_REQUEST_POST_COMPONENT
HTTP_OUTBOUND_REQUEST_PUT
HTTP_OUTBOUND_REQUEST_PUT_COMPONENT
HTTP_OUTBOUND_REQUEST_RESPONSE_BUILD
HTTP_OUTBOUND_REQUEST_RESPONSE_BUILD_COMPONENT
HTTP_OUTBOUND_REQUEST_TIMEOUT
HTTP_OUTBOUND_REQUEST_TIMEOUT_COMPONENT
HTTP_OUTBOUND_REQUEST_UNKNOWN_METHOD
HTTP_OUTBOUND_REQUEST_UNKNOWN_METHOD_COMPONENT
HTTP_OUTBOUND_REQUEST_UNSUPPORTED_SCHEME
HTTP_OUTBOUND_REQUEST_UNSUPPORTED_SCHEME_COMPONENT
KEYVALUE_MAIN
KEYVALUE_MAIN_COMPONENT
NN_WITX_IMAGE_CLASSIFICATION_ONNX
NN_WITX_IMAGE_CLASSIFICATION_OPENVINO
NN_WITX_IMAGE_CLASSIFICATION_OPENVINO_NAMED
NN_WITX_IMAGE_CLASSIFICATION_PYTORCH
NN_WITX_IMAGE_CLASSIFICATION_WINML_NAMED
NN_WIT_IMAGE_CLASSIFICATION_ONNX
NN_WIT_IMAGE_CLASSIFICATION_ONNX_COMPONENT
NN_WIT_IMAGE_CLASSIFICATION_OPENVINO
NN_WIT_IMAGE_CLASSIFICATION_OPENVINO_COMPONENT
NN_WIT_IMAGE_CLASSIFICATION_OPENVINO_NAMED
NN_WIT_IMAGE_CLASSIFICATION_OPENVINO_NAMED_COMPONENT
NN_WIT_IMAGE_CLASSIFICATION_PYTORCH
NN_WIT_IMAGE_CLASSIFICATION_PYTORCH_COMPONENT
NN_WIT_IMAGE_CLASSIFICATION_WINML_NAMED
NN_WIT_IMAGE_CLASSIFICATION_WINML_NAMED_COMPONENT
PIPED_MULTIPLE
PIPED_MULTIPLE_COMPONENT
PIPED_POLLING
PIPED_POLLING_COMPONENT
PIPED_SIMPLE
PIPED_SIMPLE_COMPONENT
PREVIEW1_BIG_RANDOM_BUF
PREVIEW1_BIG_RANDOM_BUF_COMPONENT
PREVIEW1_CLOCK_TIME_GET
PREVIEW1_CLOCK_TIME_GET_COMPONENT
PREVIEW1_CLOSE_PREOPEN
PREVIEW1_CLOSE_PREOPEN_COMPONENT
PREVIEW1_DANGLING_FD
PREVIEW1_DANGLING_FD_COMPONENT
PREVIEW1_DANGLING_SYMLINK
PREVIEW1_DANGLING_SYMLINK_COMPONENT
PREVIEW1_DIRECTORY_SEEK
PREVIEW1_DIRECTORY_SEEK_COMPONENT
PREVIEW1_DIR_FD_OP_FAILURES
PREVIEW1_DIR_FD_OP_FAILURES_COMPONENT
PREVIEW1_FD_ADVISE
PREVIEW1_FD_ADVISE_COMPONENT
PREVIEW1_FD_FILESTAT_GET
PREVIEW1_FD_FILESTAT_GET_COMPONENT
PREVIEW1_FD_FILESTAT_SET
PREVIEW1_FD_FILESTAT_SET_COMPONENT
PREVIEW1_FD_FLAGS_SET
PREVIEW1_FD_FLAGS_SET_COMPONENT
PREVIEW1_FD_READDIR
PREVIEW1_FD_READDIR_COMPONENT
PREVIEW1_FILE_ALLOCATE
PREVIEW1_FILE_ALLOCATE_COMPONENT
PREVIEW1_FILE_PREAD_PWRITE
PREVIEW1_FILE_PREAD_PWRITE_COMPONENT
PREVIEW1_FILE_READ_WRITE
PREVIEW1_FILE_READ_WRITE_COMPONENT
PREVIEW1_FILE_SEEK_TELL
PREVIEW1_FILE_SEEK_TELL_COMPONENT
PREVIEW1_FILE_TRUNCATION
PREVIEW1_FILE_TRUNCATION_COMPONENT
PREVIEW1_FILE_UNBUFFERED_WRITE
PREVIEW1_FILE_UNBUFFERED_WRITE_COMPONENT
PREVIEW1_FILE_WRITE
PREVIEW1_FILE_WRITE_COMPONENT
PREVIEW1_INTERESTING_PATHS
PREVIEW1_INTERESTING_PATHS_COMPONENT
PREVIEW1_NOFOLLOW_ERRORS
PREVIEW1_NOFOLLOW_ERRORS_COMPONENT
PREVIEW1_OVERWRITE_PREOPEN
PREVIEW1_OVERWRITE_PREOPEN_COMPONENT
PREVIEW1_PATH_EXISTS
PREVIEW1_PATH_EXISTS_COMPONENT
PREVIEW1_PATH_FILESTAT
PREVIEW1_PATH_FILESTAT_COMPONENT
PREVIEW1_PATH_LINK
PREVIEW1_PATH_LINK_COMPONENT
PREVIEW1_PATH_OPEN_CREATE_EXISTING
PREVIEW1_PATH_OPEN_CREATE_EXISTING_COMPONENT
PREVIEW1_PATH_OPEN_DIRFD_NOT_DIR
PREVIEW1_PATH_OPEN_DIRFD_NOT_DIR_COMPONENT
PREVIEW1_PATH_OPEN_LOTS
PREVIEW1_PATH_OPEN_LOTS_COMPONENT
PREVIEW1_PATH_OPEN_MISSING
PREVIEW1_PATH_OPEN_MISSING_COMPONENT
PREVIEW1_PATH_OPEN_NONBLOCK
PREVIEW1_PATH_OPEN_NONBLOCK_COMPONENT
PREVIEW1_PATH_OPEN_PREOPEN
PREVIEW1_PATH_OPEN_PREOPEN_COMPONENT
PREVIEW1_PATH_OPEN_READ_WRITE
PREVIEW1_PATH_OPEN_READ_WRITE_COMPONENT
PREVIEW1_PATH_RENAME
PREVIEW1_PATH_RENAME_COMPONENT
PREVIEW1_PATH_RENAME_DIR_TRAILING_SLASHES
PREVIEW1_PATH_RENAME_DIR_TRAILING_SLASHES_COMPONENT
PREVIEW1_PATH_SYMLINK_TRAILING_SLASHES
PREVIEW1_PATH_SYMLINK_TRAILING_SLASHES_COMPONENT
PREVIEW1_POLL_ONEOFF_FILES
PREVIEW1_POLL_ONEOFF_FILES_COMPONENT
PREVIEW1_POLL_ONEOFF_STDIO
PREVIEW1_POLL_ONEOFF_STDIO_COMPONENT
PREVIEW1_READLINK
PREVIEW1_READLINK_COMPONENT
PREVIEW1_REGULAR_FILE_ISATTY
PREVIEW1_REGULAR_FILE_ISATTY_COMPONENT
PREVIEW1_REMOVE_DIRECTORY
PREVIEW1_REMOVE_DIRECTORY_COMPONENT
PREVIEW1_REMOVE_NONEMPTY_DIRECTORY
PREVIEW1_REMOVE_NONEMPTY_DIRECTORY_COMPONENT
PREVIEW1_RENUMBER
PREVIEW1_RENUMBER_COMPONENT
PREVIEW1_SCHED_YIELD
PREVIEW1_SCHED_YIELD_COMPONENT
PREVIEW1_STDIO
PREVIEW1_STDIO_COMPONENT
PREVIEW1_STDIO_ISATTY
PREVIEW1_STDIO_ISATTY_COMPONENT
PREVIEW1_STDIO_NOT_ISATTY
PREVIEW1_STDIO_NOT_ISATTY_COMPONENT
PREVIEW1_SYMLINK_CREATE
PREVIEW1_SYMLINK_CREATE_COMPONENT
PREVIEW1_SYMLINK_FILESTAT
PREVIEW1_SYMLINK_FILESTAT_COMPONENT
PREVIEW1_SYMLINK_LOOP
PREVIEW1_SYMLINK_LOOP_COMPONENT
PREVIEW1_UNICODE_OUTPUT
PREVIEW1_UNICODE_OUTPUT_COMPONENT
PREVIEW1_UNLINK_FILE_TRAILING_SLASHES
PREVIEW1_UNLINK_FILE_TRAILING_SLASHES_COMPONENT
PREVIEW2_ADAPTER_BADFD
PREVIEW2_ADAPTER_BADFD_COMPONENT
PREVIEW2_FILE_READ_WRITE
PREVIEW2_FILE_READ_WRITE_COMPONENT
PREVIEW2_IP_NAME_LOOKUP
PREVIEW2_IP_NAME_LOOKUP_COMPONENT
PREVIEW2_POLLABLE_CORRECT
PREVIEW2_POLLABLE_CORRECT_COMPONENT
PREVIEW2_POLLABLE_TRAPS
PREVIEW2_POLLABLE_TRAPS_COMPONENT
PREVIEW2_RANDOM
PREVIEW2_RANDOM_COMPONENT
PREVIEW2_SLEEP
PREVIEW2_SLEEP_COMPONENT
PREVIEW2_STREAM_POLLABLE_CORRECT
PREVIEW2_STREAM_POLLABLE_CORRECT_COMPONENT
PREVIEW2_STREAM_POLLABLE_TRAPS
PREVIEW2_STREAM_POLLABLE_TRAPS_COMPONENT
PREVIEW2_TCP_BIND
PREVIEW2_TCP_BIND_COMPONENT
PREVIEW2_TCP_CONNECT
PREVIEW2_TCP_CONNECT_COMPONENT
PREVIEW2_TCP_SAMPLE_APPLICATION
PREVIEW2_TCP_SAMPLE_APPLICATION_COMPONENT
PREVIEW2_TCP_SOCKOPTS
PREVIEW2_TCP_SOCKOPTS_COMPONENT
PREVIEW2_TCP_STATES
PREVIEW2_TCP_STATES_COMPONENT
PREVIEW2_TCP_STREAMS
PREVIEW2_TCP_STREAMS_COMPONENT
PREVIEW2_UDP_BIND
PREVIEW2_UDP_BIND_COMPONENT
PREVIEW2_UDP_CONNECT
PREVIEW2_UDP_CONNECT_COMPONENT
PREVIEW2_UDP_SAMPLE_APPLICATION
PREVIEW2_UDP_SAMPLE_APPLICATION_COMPONENT
PREVIEW2_UDP_SOCKOPTS
PREVIEW2_UDP_SOCKOPTS_COMPONENT
PREVIEW2_UDP_STATES
PREVIEW2_UDP_STATES_COMPONENT
REVERSE_STR_WASM_PATH
SPILLED_FRAME_BASE_WASM_PATH
TLS_SAMPLE_APPLICATION
TLS_SAMPLE_APPLICATION_COMPONENT
TWO_REMOVED_BRANCHES_WASM_PATH

Functions§

engine
Helper to create an Engine with a pre-configured Config that uses a cache for faster building of modules.
stdio_is_terminal
wasi_tests_environment
The wasi-tests binaries use these environment variables to determine their expected behavior. Used by all of the tests/ which execute the wasi-tests binaries.