Skip to content

Commit

Permalink
solve fmt check problem for lwip
Browse files Browse the repository at this point in the history
  • Loading branch information
lhw committed Jan 31, 2025
1 parent ea80780 commit 3a4be95
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions crates/lwip_rust/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#![no_std]
#[rustfmt::skip]
#![allow(dead_code)]
#![allow(non_upper_case_globals)]
#![allow(non_camel_case_types)]
Expand Down

0 comments on commit 3a4be95

Please sign in to comment.