From c5981b6ccd79ea01c802d5f1a2eeb093faa8898c Mon Sep 17 00:00:00 2001 From: Andre Richter Date: Sun, 19 Aug 2018 00:42:36 +0200 Subject: [PATCH] Don't invoke clippy via xargo Despite invoking clippy with xargo, it wasnt actually using the custom target, so we don't need xargo here for now... The target argument was missing anyways. Using it throws an error. Needs some more investigation. --- 02_multicore_rust/Makefile | 2 +- 03_uart1/Makefile | 2 +- 04_mailboxes/Makefile | 2 +- 05_uart0/Makefile | 2 +- 06_raspbootin64/Makefile | 2 +- 07_abstraction/Makefile | 2 +- 08_random/Makefile | 2 +- 09_delays/Makefile | 2 +- 0A_power/Makefile | 2 +- 9 files changed, 9 insertions(+), 9 deletions(-) diff --git a/02_multicore_rust/Makefile b/02_multicore_rust/Makefile index 93865de4..c0765cf3 100644 --- a/02_multicore_rust/Makefile +++ b/02_multicore_rust/Makefile @@ -54,7 +54,7 @@ qemu: $(DOCKER_CMD) $(UTILS_CONTAINER) $(QEMU_CMD) -d in_asm clippy: - RUSTFLAGS="-C panic=abort" xargo clippy + RUSTFLAGS="-C panic=abort" cargo clippy clean: cargo clean diff --git a/03_uart1/Makefile b/03_uart1/Makefile index 4baca382..b7e701dd 100644 --- a/03_uart1/Makefile +++ b/03_uart1/Makefile @@ -54,7 +54,7 @@ qemu: $(DOCKER_CMD) $(UTILS_CONTAINER) $(QEMU_CMD) -serial stdio clippy: - RUSTFLAGS="-C panic=abort" xargo clippy + RUSTFLAGS="-C panic=abort" cargo clippy clean: cargo clean diff --git a/04_mailboxes/Makefile b/04_mailboxes/Makefile index 4baca382..b7e701dd 100644 --- a/04_mailboxes/Makefile +++ b/04_mailboxes/Makefile @@ -54,7 +54,7 @@ qemu: $(DOCKER_CMD) $(UTILS_CONTAINER) $(QEMU_CMD) -serial stdio clippy: - RUSTFLAGS="-C panic=abort" xargo clippy + RUSTFLAGS="-C panic=abort" cargo clippy clean: cargo clean diff --git a/05_uart0/Makefile b/05_uart0/Makefile index 4baca382..b7e701dd 100644 --- a/05_uart0/Makefile +++ b/05_uart0/Makefile @@ -54,7 +54,7 @@ qemu: $(DOCKER_CMD) $(UTILS_CONTAINER) $(QEMU_CMD) -serial stdio clippy: - RUSTFLAGS="-C panic=abort" xargo clippy + RUSTFLAGS="-C panic=abort" cargo clippy clean: cargo clean diff --git a/06_raspbootin64/Makefile b/06_raspbootin64/Makefile index 4baca382..b7e701dd 100644 --- a/06_raspbootin64/Makefile +++ b/06_raspbootin64/Makefile @@ -54,7 +54,7 @@ qemu: $(DOCKER_CMD) $(UTILS_CONTAINER) $(QEMU_CMD) -serial stdio clippy: - RUSTFLAGS="-C panic=abort" xargo clippy + RUSTFLAGS="-C panic=abort" cargo clippy clean: cargo clean diff --git a/07_abstraction/Makefile b/07_abstraction/Makefile index 3d2cb6e8..0e83d31d 100644 --- a/07_abstraction/Makefile +++ b/07_abstraction/Makefile @@ -59,7 +59,7 @@ raspboot: $(DOCKER_CMD) $(DOCKER_TTY) $(UTILS_CONTAINER) $(RASPBOOT_CMD) clippy: - RUSTFLAGS="-C panic=abort" xargo clippy + RUSTFLAGS="-C panic=abort" cargo clippy clean: cargo clean diff --git a/08_random/Makefile b/08_random/Makefile index 3d2cb6e8..0e83d31d 100644 --- a/08_random/Makefile +++ b/08_random/Makefile @@ -59,7 +59,7 @@ raspboot: $(DOCKER_CMD) $(DOCKER_TTY) $(UTILS_CONTAINER) $(RASPBOOT_CMD) clippy: - RUSTFLAGS="-C panic=abort" xargo clippy + RUSTFLAGS="-C panic=abort" cargo clippy clean: cargo clean diff --git a/09_delays/Makefile b/09_delays/Makefile index 3d2cb6e8..0e83d31d 100644 --- a/09_delays/Makefile +++ b/09_delays/Makefile @@ -59,7 +59,7 @@ raspboot: $(DOCKER_CMD) $(DOCKER_TTY) $(UTILS_CONTAINER) $(RASPBOOT_CMD) clippy: - RUSTFLAGS="-C panic=abort" xargo clippy + RUSTFLAGS="-C panic=abort" cargo clippy clean: cargo clean diff --git a/0A_power/Makefile b/0A_power/Makefile index 3d2cb6e8..0e83d31d 100644 --- a/0A_power/Makefile +++ b/0A_power/Makefile @@ -59,7 +59,7 @@ raspboot: $(DOCKER_CMD) $(DOCKER_TTY) $(UTILS_CONTAINER) $(RASPBOOT_CMD) clippy: - RUSTFLAGS="-C panic=abort" xargo clippy + RUSTFLAGS="-C panic=abort" cargo clippy clean: cargo clean