Trait dinghy_lib::Platform
source · pub trait Platform: Debug {
// Required methods
fn setup_env(&self, project: &Project, setup_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>>;
}