diff --git a/Makefile b/Makefile index 2d76c7945..24fbd7f6b 100644 --- a/Makefile +++ b/Makefile @@ -184,6 +184,7 @@ all: build # prebuild option to be overriden in `$(PREBUILD)` define run_prebuild + git submodule update --init endef # prebuild makefile might override some variables by their own @@ -235,6 +236,7 @@ debug_no_attach: build $(call run_qemu_debug) clippy: + $(call run_prebuild) ifeq ($(origin ARCH), command line) $(call cargo_clippy,--target $(TARGET)) else diff --git a/crates/lwip_rust/src/lib.rs b/crates/lwip_rust/src/lib.rs index 77a366662..666f9a9bd 100644 --- a/crates/lwip_rust/src/lib.rs +++ b/crates/lwip_rust/src/lib.rs @@ -1,4 +1,5 @@ #![no_std] +#[rustfmt::skip] #![allow(dead_code)] #![allow(non_upper_case_globals)] #![allow(non_camel_case_types)]