struct Compiletest {
test_compiler: Compiler,
target: TargetSelection,
mode: CompiletestMode,
suite: &'static str,
path: &'static str,
compare_mode: Option<&'static str>,
}Expand description
Executes the compiletest tool to run a suite of tests.
Compiles all tests with test_compiler for target with the specified
compiletest mode and suite arguments. For example mode can be
“mir-opt” and suite can be something like “debuginfo”.
Fields§
§test_compiler: CompilerThe compiler that we’re testing.
target: TargetSelection§mode: CompiletestMode§suite: &'static str§path: &'static str§compare_mode: Option<&'static str>Trait Implementations§
Source§impl Clone for Compiletest
impl Clone for Compiletest
Source§fn clone(&self) -> Compiletest
fn clone(&self) -> Compiletest
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for Compiletest
impl Debug for Compiletest
impl Eq for Compiletest
Source§impl Hash for Compiletest
impl Hash for Compiletest
Source§impl PartialEq for Compiletest
impl PartialEq for Compiletest
Source§impl Step for Compiletest
impl Step for Compiletest
impl StructuralPartialEq for Compiletest
Auto Trait Implementations§
impl Freeze for Compiletest
impl RefUnwindSafe for Compiletest
impl Send for Compiletest
impl Sync for Compiletest
impl Unpin for Compiletest
impl UnsafeUnpin for Compiletest
impl UnwindSafe for Compiletest
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Pointable for T
impl<T> Pointable for T
Layout§
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...) attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.
Size: 128 bytes