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

Required methods

Trait Implementations

Formats the value using the given formatter. Read more

Implementors