pub struct ActionContext {
pub compiler: CompilerIdentity,
pub working_dir: PathBuf,
pub path_mappings: Vec<PathMapping>,
pub environment: BTreeMap<String, Option<String>>,
pub portable_environment: BTreeSet<String>,
pub inputs: Vec<ActionInput>,
}Fields§
§compiler: CompilerIdentity§working_dir: PathBuf§path_mappings: Vec<PathMapping>§environment: BTreeMap<String, Option<String>>§portable_environment: BTreeSet<String>Environment inputs whose absolute values the compilation has been made independent of, and whose values the key therefore normalizes.
Naming one here is a claim about the compilation, not a preference: the
caller must both neutralize the value inside it (with
--remap-path-prefix) and confirm no output carries the value anyway.
inputs: Vec<ActionInput>Trait Implementations§
Source§impl Clone for ActionContext
impl Clone for ActionContext
Source§fn clone(&self) -> ActionContext
fn clone(&self) -> ActionContext
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 ActionContext
impl Debug for ActionContext
impl Eq for ActionContext
Source§impl PartialEq for ActionContext
impl PartialEq for ActionContext
impl StructuralPartialEq for ActionContext
Auto Trait Implementations§
impl Freeze for ActionContext
impl RefUnwindSafe for ActionContext
impl Send for ActionContext
impl Sync for ActionContext
impl Unpin for ActionContext
impl UnsafeUnpin for ActionContext
impl UnwindSafe for ActionContext
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