Skip to content

Commit

Permalink
fix some warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
aarkegz committed Dec 20, 2024
1 parent 765b127 commit 8b7b5c7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions modules/axhal/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ const BUILTIN_PLATFORMS: &[&str] = &[

const BUILTIN_PLATFORM_FAMILIES: &[&str] = &[
"aarch64-bsta1000b",
"aarch64-phytium-pi",
"aarch64-qemu-virt",
"aarch64-raspi",
"riscv64-qemu-virt",
Expand Down
2 changes: 1 addition & 1 deletion scripts/make/cargo.mk
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ define cargo_build
$(call run_cmd,cargo -C $(1) build,$(build_args) --features "$(strip $(2))")
endef

clippy_args := -A clippy::new_without_default
clippy_args := -A clippy::new_without_default -A unsafe_op_in_unsafe_fn

define cargo_clippy
$(call run_cmd,cargo clippy,--all-features --workspace --exclude axlog $(1) $(verbose) -- $(clippy_args))
Expand Down

0 comments on commit 8b7b5c7

Please sign in to comment.