解决设置rust workspace带来的“工具链不一致”的问题 (#345)

更改workflow
This commit is contained in:
LoGin
2023-08-26 21:36:13 +08:00
committed by GitHub
parent 9a367aa7eb
commit e92d022810
11 changed files with 46 additions and 22 deletions

View File

@ -16,4 +16,9 @@ clean:
echo "Clean in dir: $$subdir";\
cd $$subdir && $(MAKE) clean;\
cd .. ;\
done
done
.PHONY: clean
fmt:
@echo "格式化代码: user/libs"
FMT_CHECK=$(FMT_CHECK) $(MAKE) -C libc fmt

View File

@ -4,4 +4,8 @@ all:
clean:
rm -f Cargo.lock
$(MAKE) -C src clean
$(MAKE) -C src clean
.PHONY: fmt
fmt:
cargo fmt --all $(FMT_CHECK)