]> git.lizzy.rs Git - rust.git/blob - src/tools/rustfmt/ci/build_and_test.sh
Rollup merge of #105109 - rcvalle:rust-kcfi, r=bjorn3
[rust.git] / src / tools / rustfmt / ci / build_and_test.sh
1 #!/bin/bash
2
3 set -euo pipefail
4
5 export RUSTFLAGS="-D warnings"
6
7 # Print version information
8 rustc -Vv
9 cargo -V
10
11 # Build and test main crate
12 cargo build --locked
13 cargo test
14
15 # Build and test other crates
16 cd config_proc_macro
17 cargo build --locked
18 cargo test