pub struct ParseOptions<'a> {
pub passes: Option<&'a [String]>,
pub target: Option<&'a str>,
pub default_calling_convention: CallConv,
pub unwind_info: bool,
pub machine_code_cfg_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).
machine_code_cfg_info: bool
Default for machine_code_cfg_info setting (enabled or disabled).
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for ParseOptions<'a>
impl<'a> RefUnwindSafe for ParseOptions<'a>
impl<'a> Send for ParseOptions<'a>
impl<'a> Sync for ParseOptions<'a>
impl<'a> Unpin for ParseOptions<'a>
impl<'a> UnwindSafe for ParseOptions<'a>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more