pub enum CcLanguage {
C,
Cxx,
}Expand description
Source language a driver invocation compiles.
Variants§
Implementations§
Source§impl CcLanguage
impl CcLanguage
Sourcepub fn shim_stem(self) -> &'static str
pub fn shim_stem(self) -> &'static str
Shim file stem that selects this language.
Neither stem ends in -cc or -gcc. Build tooling reads those
suffixes off CC as a cross-compiler prefix – the autotools crate
strips one and hands the remainder to configure as --host – so a
shim named mbx-cc made an absolute shim path look like a machine
triple.
Sourcepub fn default_driver(self) -> &'static str
pub fn default_driver(self) -> &'static str
Default driver name to fall back to when no real compiler is pinned.
Trait Implementations§
Source§impl Clone for CcLanguage
impl Clone for CcLanguage
impl Copy for CcLanguage
Source§impl Debug for CcLanguage
impl Debug for CcLanguage
impl Eq for CcLanguage
Source§impl PartialEq for CcLanguage
impl PartialEq for CcLanguage
impl StructuralPartialEq for CcLanguage
Auto Trait Implementations§
impl Freeze for CcLanguage
impl RefUnwindSafe for CcLanguage
impl Send for CcLanguage
impl Sync for CcLanguage
impl Unpin for CcLanguage
impl UnsafeUnpin for CcLanguage
impl UnwindSafe for CcLanguage
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