Treat clippy warnigs as error

pull/41/head
Andre Richter 4 years ago
parent 30bf170956
commit 0e78932bf7
No known key found for this signature in database
GPG Key ID: 2116C1AB102F615E

@ -74,7 +74,7 @@ qemu: all
endif
clippy:
cargo xclippy --target=$(TARGET) --features bsp_$(BSP)
RUSTFLAGS="$(RUSTFLAGS_PEDANTIC)" cargo xclippy --target=$(TARGET) --features bsp_$(BSP)
clean:
rm -rf target

@ -74,7 +74,7 @@ qemu: all
endif
clippy:
cargo xclippy --target=$(TARGET) --features bsp_$(BSP)
RUSTFLAGS="$(RUSTFLAGS_PEDANTIC)" cargo xclippy --target=$(TARGET) --features bsp_$(BSP)
clean:
rm -rf target

@ -74,7 +74,7 @@ qemu: all
endif
clippy:
cargo xclippy --target=$(TARGET) --features bsp_$(BSP)
RUSTFLAGS="$(RUSTFLAGS_PEDANTIC)" cargo xclippy --target=$(TARGET) --features bsp_$(BSP)
clean:
rm -rf target

@ -74,7 +74,7 @@ qemu: all
endif
clippy:
cargo xclippy --target=$(TARGET) --features bsp_$(BSP)
RUSTFLAGS="$(RUSTFLAGS_PEDANTIC)" cargo xclippy --target=$(TARGET) --features bsp_$(BSP)
clean:
rm -rf target

@ -74,7 +74,7 @@ qemu: all
endif
clippy:
cargo xclippy --target=$(TARGET) --features bsp_$(BSP)
RUSTFLAGS="$(RUSTFLAGS_PEDANTIC)" cargo xclippy --target=$(TARGET) --features bsp_$(BSP)
clean:
rm -rf target

@ -74,7 +74,7 @@ qemu: all
endif
clippy:
cargo xclippy --target=$(TARGET) --features bsp_$(BSP)
RUSTFLAGS="$(RUSTFLAGS_PEDANTIC)" cargo xclippy --target=$(TARGET) --features bsp_$(BSP)
clean:
rm -rf target

@ -93,7 +93,7 @@ chainboot:
$(CHAINBOOT_DEMO_PAYLOAD)
clippy:
cargo xclippy --target=$(TARGET) --features bsp_$(BSP)
RUSTFLAGS="$(RUSTFLAGS_PEDANTIC)" cargo xclippy --target=$(TARGET) --features bsp_$(BSP)
clean:
rm -rf target

@ -143,7 +143,7 @@ diff -uNr 06_drivers_gpio_uart/Makefile 07_uart_chainloader/Makefile
+ $(CHAINBOOT_DEMO_PAYLOAD)
+
clippy:
cargo xclippy --target=$(TARGET) --features bsp_$(BSP)
RUSTFLAGS="$(RUSTFLAGS_PEDANTIC)" cargo xclippy --target=$(TARGET) --features bsp_$(BSP)
diff -uNr 06_drivers_gpio_uart/src/arch/aarch64.rs 07_uart_chainloader/src/arch/aarch64.rs

@ -84,7 +84,7 @@ chainboot: all
$(OUTPUT)
clippy:
cargo xclippy --target=$(TARGET) --features bsp_$(BSP)
RUSTFLAGS="$(RUSTFLAGS_PEDANTIC)" cargo xclippy --target=$(TARGET) --features bsp_$(BSP)
clean:
rm -rf target

@ -97,7 +97,7 @@ diff -uNr 07_uart_chainloader/Makefile 08_timestamps/Makefile
+ $(OUTPUT)
clippy:
cargo xclippy --target=$(TARGET) --features bsp_$(BSP)
RUSTFLAGS="$(RUSTFLAGS_PEDANTIC)" cargo xclippy --target=$(TARGET) --features bsp_$(BSP)
diff -uNr 07_uart_chainloader/src/arch/aarch64/time.rs 08_timestamps/src/arch/aarch64/time.rs
--- 07_uart_chainloader/src/arch/aarch64/time.rs

@ -112,7 +112,7 @@ gdb-opt0: clean $(SOURCES)
$(call gen_gdb,-C debuginfo=2 -C opt-level=0)
clippy:
cargo xclippy --target=$(TARGET) --features bsp_$(BSP)
RUSTFLAGS="$(RUSTFLAGS_PEDANTIC)" cargo xclippy --target=$(TARGET) --features bsp_$(BSP)
clean:
rm -rf target

@ -364,6 +364,6 @@ diff -uNr 08_timestamps/Makefile 09_hw_debug_JTAG/Makefile
+ $(call gen_gdb,-C debuginfo=2 -C opt-level=0)
+
clippy:
cargo xclippy --target=$(TARGET) --features bsp_$(BSP)
RUSTFLAGS="$(RUSTFLAGS_PEDANTIC)" cargo xclippy --target=$(TARGET) --features bsp_$(BSP)
```

@ -112,7 +112,7 @@ gdb-opt0: clean $(SOURCES)
$(call gen_gdb,-C debuginfo=2 -C opt-level=0)
clippy:
cargo xclippy --target=$(TARGET) --features bsp_$(BSP)
RUSTFLAGS="$(RUSTFLAGS_PEDANTIC)" cargo xclippy --target=$(TARGET) --features bsp_$(BSP)
clean:
rm -rf target

@ -112,7 +112,7 @@ gdb-opt0: clean $(SOURCES)
$(call gen_gdb,-C debuginfo=2 -C opt-level=0)
clippy:
cargo xclippy --target=$(TARGET) --features bsp_$(BSP)
RUSTFLAGS="$(RUSTFLAGS_PEDANTIC)" cargo xclippy --target=$(TARGET) --features bsp_$(BSP)
clean:
rm -rf target

@ -112,7 +112,7 @@ gdb-opt0: clean $(SOURCES)
$(call gen_gdb,-C debuginfo=2 -C opt-level=0)
clippy:
cargo xclippy --target=$(TARGET) --features bsp_$(BSP)
RUSTFLAGS="$(RUSTFLAGS_PEDANTIC)" cargo xclippy --target=$(TARGET) --features bsp_$(BSP)
clean:
rm -rf target

@ -148,7 +148,7 @@ gdb-opt0: clean $(SOURCES)
$(call gen_gdb,-C debuginfo=2 -C opt-level=0)
clippy:
cargo xclippy --target=$(TARGET) --features bsp_$(BSP)
RUSTFLAGS="$(RUSTFLAGS_PEDANTIC)" cargo xclippy --target=$(TARGET) --features bsp_$(BSP)
clean:
rm -rf target

@ -84,7 +84,7 @@ chainboot: all
$(OUTPUT)
clippy:
cargo xclippy --target=$(TARGET) --features bsp_$(BSP)
RUSTFLAGS="$(RUSTFLAGS_PEDANTIC)" cargo xclippy --target=$(TARGET) --features bsp_$(BSP)
clean:
rm -rf target

Loading…
Cancel
Save