pub trait Platform: Debug {
    fn setup_env(&self, project: &Project, build_args: &SetupArgs) -> Result<()>;
    fn id(&self) -> String;
    fn is_compatible_with(&self, device: &dyn Device) -> bool;
    fn is_host(&self) -> bool;
    fn rustc_triple(&self) -> &str;
    fn strip(&self, build: &mut Build) -> Result<()>;
    fn sysroot(&self) -> Result<Option<PathBuf>>;
}

Required Methods

Trait Implementations

Formats the value using the given formatter. Read more

Implementors