mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2024-12-22 13:45:20 +00:00
cargo: Do not run fmt on anyhow's build code
The anyhow crate generates some incorrectly indented code from its build.rs code. We don't want to run cargo fmt on this code. Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
This commit is contained in:
parent
0361df4ae0
commit
5450de0f5e
@ -21,5 +21,5 @@ cargo rustc --bin cloud-hypervisor --no-default-features --features "pci" -- -D
|
||||
cargo rustc --bin vhost_user_net --no-default-features --features "pci" -- -D warnings
|
||||
cargo rustc --bin cloud-hypervisor --no-default-features --features "mmio" -- -D warnings
|
||||
cargo rustc --bin vhost_user_net --no-default-features --features "mmio" -- -D warnings
|
||||
find . -name "*.rs" | xargs rustfmt --check
|
||||
find . \( -name "*.rs" ! -wholename "*/out/*.rs" \) | xargs rustfmt --check
|
||||
cargo build --release
|
||||
|
Loading…
Reference in New Issue
Block a user