tar-no-std/build.sh

12 lines
384 B
Bash
Raw Normal View History

2023-04-11 16:47:06 +08:00
#!/usr/bin/env bash
2023-04-11 16:47:06 +08:00
cargo build --all-targets --verbose --features alloc
# use some random no_std target
rustup target add thumbv7em-none-eabihf
2023-04-11 16:47:06 +08:00
cargo build --verbose --target thumbv7em-none-eabihf --features alloc
cargo test --verbose --features alloc
cargo fmt -- --check
2023-04-11 16:47:06 +08:00
cargo +1.60.0 clippy --features alloc
cargo +1.60.0 doc --no-deps --document-private-items --features alloc