pub struct TargetConfig {
pub ar: Option<PathBuf>,
pub linker: Option<PathBuf>,
pub overrides: HashMap<String, BuildOutput>,
}Expand description
Information required to build for a target
Fields§
§ar: Option<PathBuf>The path of archiver (lib builder) for this target.
linker: Option<PathBuf>The path of the linker for this target.
overrides: HashMap<String, BuildOutput>Special build options for any necessary input files (filename -> options)
Implementations§
Source§impl TargetConfig
impl TargetConfig
pub fn new(config: &Config, triple: &str) -> CargoResult<TargetConfig>
Trait Implementations§
Source§impl Clone for TargetConfig
impl Clone for TargetConfig
Auto Trait Implementations§
impl Freeze for TargetConfig
impl RefUnwindSafe for TargetConfig
impl Send for TargetConfig
impl Sync for TargetConfig
impl Unpin for TargetConfig
impl UnsafeUnpin for TargetConfig
impl UnwindSafe for TargetConfig
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