]> git.lizzy.rs Git - rust.git/blob - src/tools/rustfmt/ci/build_and_test.bat
Merge commit '3c7e7dbc1583a0b06df5bd7623dd354a4debd23d' into clippyup
[rust.git] / src / tools / rustfmt / ci / build_and_test.bat
1 set "RUSTFLAGS=-D warnings"
2
3 :: Print version information
4 rustc -Vv || exit /b 1
5 cargo -V || exit /b 1
6
7 :: Build and test main crate
8 cargo build --locked || exit /b 1
9 cargo test || exit /b 1
10
11 :: Build and test other crates
12 cd config_proc_macro || exit /b 1
13 cargo build --locked || exit /b 1
14 cargo test || exit /b 1