Browse Source

fix: build-scripts和tools目录下的make check指定工具链版本 (#861)

LoGin 8 months ago
parent
commit
79ad6e5ba4
3 changed files with 4 additions and 1 deletions
  1. 1 0
      build-scripts/.gitignore
  2. 2 0
      build-scripts/Makefile
  3. 1 1
      tools/Makefile

+ 1 - 0
build-scripts/.gitignore

@@ -0,0 +1 @@
+/target/

+ 2 - 0
build-scripts/Makefile

@@ -4,3 +4,5 @@ fmt:
 
 clean:
 	@cargo clean
+check:
+	@cargo +nightly-2023-08-15 check --workspace $(CARGO_ZBUILD) --message-format=json

+ 1 - 1
tools/Makefile

@@ -6,4 +6,4 @@ clean:
 	@cargo clean
 
 check:
-	@cargo check --all
+	@cargo +nightly-2023-08-15 check --workspace --message-format=json