blob: 4673a455bc9275dba247300f3e85759fa1dc328c (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
use std::{env, process};
use xtask::check_host_side;
fn main() {
let subcommand = env::args().nth(1);
match subcommand.as_deref() {
Some("check-host-side") => check_host_side(),
_ => {
eprintln!("usage: cargo xtask <subcommand>");
eprintln!();
eprintln!("subcommands:");
eprintln!(" check-host-side Build the crate in a non-Cortex-M host application and check host side usage of certain types");
process::exit(1);
}
}
}
|