Ver Fonte

只对x86_64进行clippy check (#651)

LoGin há 1 ano atrás
pai
commit
3660256a9e
1 ficheiros alterados com 3 adições e 0 exclusões
  1. 3 0
      kernel/Makefile

+ 3 - 0
kernel/Makefile

@@ -26,7 +26,10 @@ clean:
 .PHONY: fmt
 fmt:
 	@cargo fmt --all $(FMT_CHECK)
+ifeq ($(ARCH), x86_64)
 	@cargo clippy --all-features
+endif
+
 
 .PHONY: check
 check: ECHO