struct RmetaSysroot {
host_dir: PathBuf,
target_dir: PathBuf,
}
Expand description
Represents a proof that rustc was checked. Contains directories with .rmeta files generated by checking rustc for a specific target.
Fields§
§host_dir: PathBuf
§target_dir: PathBuf
Implementations§
Source§impl RmetaSysroot
impl RmetaSysroot
Sourcefn from_stamp(
builder: &Builder<'_>,
stamp: BuildStamp,
target: TargetSelection,
directory: &Path,
) -> Self
fn from_stamp( builder: &Builder<'_>, stamp: BuildStamp, target: TargetSelection, directory: &Path, ) -> Self
Copy rmeta artifacts from the given stamp
into a sysroot located at directory
.
Sourcefn configure_cargo(&self, cargo: &mut Cargo)
fn configure_cargo(&self, cargo: &mut Cargo)
Configure the given cargo invocation so that the compiled crate will be able to use rustc .rmeta artifacts that were previously generated.
Trait Implementations§
Source§impl Clone for RmetaSysroot
impl Clone for RmetaSysroot
Source§fn clone(&self) -> RmetaSysroot
fn clone(&self) -> RmetaSysroot
Returns a duplicate of the value. Read more
1.0.0 · 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 RmetaSysroot
impl Debug for RmetaSysroot
Source§impl Hash for RmetaSysroot
impl Hash for RmetaSysroot
Source§impl PartialEq for RmetaSysroot
impl PartialEq for RmetaSysroot
impl Eq for RmetaSysroot
impl StructuralPartialEq for RmetaSysroot
Auto Trait Implementations§
impl Freeze for RmetaSysroot
impl RefUnwindSafe for RmetaSysroot
impl Send for RmetaSysroot
impl Sync for RmetaSysroot
impl Unpin for RmetaSysroot
impl UnwindSafe for RmetaSysroot
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: 48 bytes