pub struct ParseOptions<'a> {
    pub passes: Option<&'a [String]>,
    pub target: Option<&'a str>,
    pub default_calling_convention: CallConv,
    pub unwind_info: bool,
}
Expand description

Options for configuring the parsing of filetests.

Fields

passes: Option<&'a [String]>

Compiler passes to run on the parsed functions.

target: Option<&'a str>

Target ISA for compiling the parsed functions, e.g. “x86_64 skylake”.

default_calling_convention: CallConv

Default calling convention used when none is specified for a parsed function.

unwind_info: bool

Default for unwind-info setting (enabled or disabled).

Trait Implementations

Returns the “default value” for a type. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.