mirror of
https://github.com/asterinas/asterinas.git
synced 2025-06-16 17:46:48 +00:00
Separate OSDK lint from kernel lint
This commit is contained in:
parent
cd3faa8123
commit
b4a357a971
2
.github/workflows/osdk_test.yml
vendored
2
.github/workflows/osdk_test.yml
vendored
@ -23,7 +23,7 @@ jobs:
|
||||
|
||||
- name: Lint
|
||||
id: lint
|
||||
run: cd osdk && cargo clippy -- -D warnings
|
||||
run: make check_osdk
|
||||
|
||||
# The OSDK unit test features a recursive call of Cargo,
|
||||
# which will break when RUSTUP_HOME is altered in the case
|
||||
|
5
Makefile
5
Makefile
@ -178,7 +178,6 @@ format:
|
||||
|
||||
.PHONY: check
|
||||
check: $(CARGO_OSDK)
|
||||
@cd osdk && cargo clippy -- -D warnings
|
||||
@./tools/format_all.sh --check # Check Rust format issues
|
||||
@# Check if STD_CRATES and NOSTD_CRATES combined is the same as all workspace members
|
||||
@sed -n '/^\[workspace\]/,/^\[.*\]/{/members = \[/,/\]/p}' Cargo.toml | \
|
||||
@ -198,6 +197,10 @@ check: $(CARGO_OSDK)
|
||||
done
|
||||
@make --no-print-directory -C regression check
|
||||
|
||||
.PHONY: check_osdk
|
||||
check_osdk:
|
||||
@cd osdk && cargo clippy -- -D warnings
|
||||
|
||||
.PHONY: clean
|
||||
clean:
|
||||
@cargo clean
|
||||
|
Loading…
x
Reference in New Issue
Block a user