Module wasmtime_cli_flags::opt

source ·
Expand description

Support for parsing Wasmtime’s -O, -W, etc “option groups”

This builds up a clap-derive-like system where there’s ideally a single macro wasmtime_option_group! which is invoked per-option which enables specifying options in a struct-like syntax where all other boilerplate about option parsing is contained exclusively within this module.

Structs§

Enums§

Traits§

  • Helper trait used by CommaSeparated which contains a list of all options supported by the option group.
  • A helper trait for all types of options that can be parsed. This is what actually parses the =val in key=val