pub struct CcActionContext {
pub compiler: CcCompilerIdentity,
pub working_dir: PathBuf,
pub path_mappings: Vec<PathMapping>,
pub environment: BTreeMap<String, Option<String>>,
pub inputs: Vec<CcActionInput>,
}Expand description
External information needed to construct a canonical cc action.
Fields§
§compiler: CcCompilerIdentityIdentity of the compiler that produces the object.
working_dir: PathBufAbsolute directory in which the compiler runs.
path_mappings: Vec<PathMapping>Host roots replaced with stable placeholders in the key.
environment: BTreeMap<String, Option<String>>Environment inputs and their observed values.
inputs: Vec<CcActionInput>Complete set of direct and discovered file inputs.
Trait Implementations§
Source§impl Clone for CcActionContext
impl Clone for CcActionContext
Source§fn clone(&self) -> CcActionContext
fn clone(&self) -> CcActionContext
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 CcActionContext
impl Debug for CcActionContext
impl Eq for CcActionContext
Source§impl PartialEq for CcActionContext
impl PartialEq for CcActionContext
impl StructuralPartialEq for CcActionContext
Auto Trait Implementations§
impl Freeze for CcActionContext
impl RefUnwindSafe for CcActionContext
impl Send for CcActionContext
impl Sync for CcActionContext
impl Unpin for CcActionContext
impl UnsafeUnpin for CcActionContext
impl UnwindSafe for CcActionContext
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