Expand description
Generate artifact information from unit dependencies for configuring the compiler environment.
Re-exportsยง
use cargo_util_schemas::core::CrateType;๐use crate::CargoResult;๐use crate::compiler::unit_graph::UnitDep;๐use crate::compiler::BuildRunner;๐use crate::compiler::FileFlavor;๐use crate::compiler::Unit;๐use crate::workspace::dependency::ArtifactKind;๐use crate::workspace::Dependency;๐use crate::workspace::Target;๐use crate::workspace::TargetKind;๐use cargo_util::collections::HashMap;๐use cargo_util::collections::HashSet;๐use std::ffi::OsString;๐
Functionsยง
- get_env
- Return all environment variables for the given unit-dependencies if artifacts are present.
- match_
artifacts_ ๐kind_ with_ targets - Given a dependency with an artifact
artifact_depand a set of availabletargetsof its package, find a target for each kind of artifacts that are to be built. - unit_
artifact_ ๐type_ name_ upper