pub(crate) struct AuxProps {
pub(crate) builds: Vec<String>,
pub(crate) bins: Vec<String>,
pub(crate) crates: Vec<(String, String)>,
pub(crate) codegen_backend: Option<String>,
}
Expand description
Properties parsed from aux-*
test directives.
Fields§
§builds: Vec<String>
Other crates that should be built and made available to this test.
These are filenames relative to ./auxiliary/
in the test’s directory.
bins: Vec<String>
Auxiliary crates that should be compiled as #![crate_type = "bin"]
.
crates: Vec<(String, String)>
Similar to builds
, but a list of NAME=somelib.rs of dependencies
to build and pass with the --extern
flag.
codegen_backend: Option<String>
Similar to builds
, but also uses the resulting dylib as a
-Zcodegen-backend
when compiling the test file.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for AuxProps
impl RefUnwindSafe for AuxProps
impl Send for AuxProps
impl Sync for AuxProps
impl Unpin for AuxProps
impl UnwindSafe for AuxProps
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,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> WithSubscriber for T
impl<T> WithSubscriber for T
Source§fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
Source§fn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
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: 96 bytes