diff options
author | 2021-12-31 17:44:33 +0000 | |
---|---|---|
committer | 2021-12-31 17:44:33 +0000 | |
commit | 819f8be6c64c233ce65b12f27e0efd82833a6897 (patch) | |
tree | 1f3cf84dbe58ac8efbc1619f292c0dc485c08ece /xtask/src/main.rs | |
parent | 255faf75de84f72389a45e3d99b824e0a4599bed (diff) | |
parent | 08452a9de25e4bc66fb80015e0c78c08eb967237 (diff) | |
download | cortex-m-819f8be6c64c233ce65b12f27e0efd82833a6897.tar.gz cortex-m-819f8be6c64c233ce65b12f27e0efd82833a6897.tar.zst cortex-m-819f8be6c64c233ce65b12f27e0efd82833a6897.zip |
Merge branch 'master' into patch-1
Diffstat (limited to 'xtask/src/main.rs')
-rw-r--r-- | xtask/src/main.rs | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/xtask/src/main.rs b/xtask/src/main.rs index ec55bf8..3e4b394 100644 --- a/xtask/src/main.rs +++ b/xtask/src/main.rs @@ -1,17 +1,19 @@ use std::{env, process}; -use xtask::{assemble_blobs, check_blobs}; +use xtask::{assemble_blobs, check_blobs, check_host_side}; fn main() { let subcommand = env::args().skip(1).next(); match subcommand.as_ref().map(|s| &**s) { Some("assemble") => assemble_blobs(), Some("check-blobs") => check_blobs(), + Some("check-host-side") => check_host_side(), _ => { eprintln!("usage: cargo xtask <subcommand>"); eprintln!(); eprintln!("subcommands:"); - eprintln!(" assemble Reassemble the pre-built artifacts"); - eprintln!(" check-blobs Check that the pre-built artifacts are up-to-date and reproducible"); + eprintln!(" assemble Reassemble the pre-built artifacts"); + eprintln!(" check-blobs Check that the pre-built artifacts are up-to-date and reproducible"); + 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); } } |