pub struct ArmToolchain { /* private fields */ }Implementations§
Source§impl ArmToolchain
impl ArmToolchain
pub fn gcc(&self) -> &Gcc
pub fn bin(&self) -> PathBuf
pub fn lib(&self) -> PathBuf
pub fn include(&self) -> PathBuf
pub fn sysroot(&self) -> &Path
Sourcepub fn lib_search_paths_for<S: AsRef<OsStr>, I: IntoIterator<Item = S>>(
&self,
args: I,
) -> Result<Vec<PathBuf>, Error>
pub fn lib_search_paths_for<S: AsRef<OsStr>, I: IntoIterator<Item = S>>( &self, args: I, ) -> Result<Vec<PathBuf>, Error>
Specialized search-path for target
pub fn lib_search_paths_for_playdate(&self) -> Result<Vec<PathBuf>, Error>
pub fn lib_search_paths_default(&self) -> Result<Vec<PathBuf>, Error>
Sourcepub fn try_new_with(gcc: Gcc) -> Result<Self, Error>
pub fn try_new_with(gcc: Gcc) -> Result<Self, Error>
Create auto-determine the toolchain by specified gcc
Auto Trait Implementations§
impl Freeze for ArmToolchain
impl RefUnwindSafe for ArmToolchain
impl Send for ArmToolchain
impl Sync for ArmToolchain
impl Unpin for ArmToolchain
impl UnwindSafe for ArmToolchain
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