Struct rune::Options [−][src]
Expand description
Compiler options.
Fields
bytecode: bool
Support (experimental) bytecode caching.
cfg_test: bool
Compile for and enable test features
v2: bool
Use the second version of the compiler in parallel.
Implementations
Parse a compiler option. This is the function which parses the
<option>[=<value>]
syntax, which is used by among other things the
Rune CLI with the -O <option>[=<value>]
option.
It can be used to consistenly parse a collection of options by other programs as well.
Set if debug info is enabled or not. Defaults to true
.
Set if link checks are enabled or not. Defaults to true
. This will
cause compilation to fail if an instruction references a function which
does not exist.
Set if bytecode caching is enabled or not. Defaults to false
.
Memoize the instance function in a loop. Defaults to false
.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Options
impl UnwindSafe for Options
Blanket Implementations
Mutably borrows from an owned value. Read more