mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2026-08-05 02:19:16 +00:00
scripts: Check the Rust formatting is valid
Check the rust formatting rather than just reformatting code on the CI agent. Also fix a formatting error that slipped in whilst the cargo fmt check was not working correctly. Signed-off-by: Rob Bradford <robert.bradford@intel.com>
This commit is contained in:
committed by
Samuel Ortiz
parent
705f27151d
commit
6e6b2b84fe
@@ -24,5 +24,5 @@ time cargo rustc --bin vhost_user_net --no-default-features --features "pci" --
|
||||
time cargo clippy --all-targets --no-default-features --features "mmio" -- -D warnings
|
||||
time cargo rustc --bin cloud-hypervisor --no-default-features --features "mmio" -- -D warnings
|
||||
time cargo rustc --bin vhost_user_net --no-default-features --features "mmio" -- -D warnings
|
||||
time cargo fmt
|
||||
time cargo fmt -- --check
|
||||
time cargo build --release
|
||||
|
||||
Reference in New Issue
Block a user