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§
- Parser registered with clap which handles parsing the
...in-O ....
Enums§
Traits§
- Helper trait used by
CommaSeparatedwhich 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
=valinkey=val