pub struct RustcOutputs {
pub directory: PathBuf,
pub files: Vec<PathBuf>,
pub dep_info: PathBuf,
}Expand description
The cacheable files and dependency manifest produced by a rustc invocation.
Fields§
§directory: PathBufCommon directory containing all modeled outputs.
files: Vec<PathBuf>Cacheable library, metadata, and/or linked program files.
dep_info: PathBufDep-info file used for precise input discovery.
Implementations§
Source§impl RustcOutputs
impl RustcOutputs
Sourcepub fn is_executable(&self, path: &Path) -> bool
pub fn is_executable(&self, path: &Path) -> bool
Whether path is a linked program whose executable permission is part
of the declared output contract.
A program is whatever this invocation emitted that is not a library
artifact. Every tier the adapter admits distinguishes the two by
extension – rlib and rmeta are the compiler’s own, and a linked
program carries either the target’s (wasm) or none at all – so the
name is enough and no separate list has to be carried alongside.
Trait Implementations§
Source§impl Clone for RustcOutputs
impl Clone for RustcOutputs
Source§fn clone(&self) -> RustcOutputs
fn clone(&self) -> RustcOutputs
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 RustcOutputs
impl Debug for RustcOutputs
impl Eq for RustcOutputs
Source§impl PartialEq for RustcOutputs
impl PartialEq for RustcOutputs
impl StructuralPartialEq for RustcOutputs
Auto Trait Implementations§
impl Freeze for RustcOutputs
impl RefUnwindSafe for RustcOutputs
impl Send for RustcOutputs
impl Sync for RustcOutputs
impl Unpin for RustcOutputs
impl UnsafeUnpin for RustcOutputs
impl UnwindSafe for RustcOutputs
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