mirror of
https://github.com/panpaul/tiny_os
synced 2024-09-20 09:45:19 +08:00
feat: clippy: treat warning as error
This commit is contained in:
parent
607c4dc0c6
commit
b503356183
6
Makefile
6
Makefile
@ -40,9 +40,9 @@ kernel:
|
||||
env RUSTFLAGS="$(RUSTFLAGS)" cargo build --bin kernel $(CARGO_BUILD_ARGS)
|
||||
|
||||
clippy:
|
||||
cargo clippy -p allocator
|
||||
cargo clippy -p utils
|
||||
cargo clippy --no-deps $(CARGO_TARGET_ARGS) --manifest-path=kernel/Cargo.toml
|
||||
env RUSTFLAGS="-Dwarnings" cargo clippy -p allocator
|
||||
env RUSTFLAGS="-Dwarnings" cargo clippy -p utils
|
||||
env RUSTFLAGS="-Dwarnings" cargo clippy --no-deps $(CARGO_TARGET_ARGS) --manifest-path=kernel/Cargo.toml
|
||||
|
||||
fmt:
|
||||
cargo fmt --all
|
||||
|
Loading…
Reference in New Issue
Block a user