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:
Samuel Ortiz 2019-12-06 00:26:22 +01:00
parent 0361df4ae0
commit 5450de0f5e

View File

@ -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