Skip to content

Commit b673542

Browse files
committed
Use rust-toolchain.toml and newer rust version
Use rust-toolchain.toml file over makefile installation. Signed-off-by: James Sturtevant <jstur@microsoft.com>
1 parent 6f12d9c commit b673542

File tree

3 files changed

+4
-10
lines changed

3 files changed

+4
-10
lines changed

.github/workflows/bvt.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ jobs:
1212
uses: actions/checkout@v3
1313
- name: Check
1414
run: |
15-
make deps
1615
make check
1716
make -C compiler check
1817
make -C ttrpc-codegen check
@@ -28,7 +27,6 @@ jobs:
2827
uses: actions/checkout@v3
2928
- name: Build
3029
run: |
31-
make deps
3230
make
3331
make -C compiler
3432
make -C ttrpc-codegen

Makefile

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
RUST_VERSION = 1.66
2-
31
all: debug test
42

53
#
@@ -34,9 +32,3 @@ endif
3432
check:
3533
cargo fmt --all -- --check
3634
cargo clippy --all-targets --all-features -- -D warnings
37-
38-
.PHONY: deps
39-
deps:
40-
rustup install $(RUST_VERSION)
41-
rustup default $(RUST_VERSION)
42-
rustup component add rustfmt clippy

rust-toolchain.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
[toolchain]
2+
channel="1.77.0"
3+
profile="default"
4+
components=["rustfmt", "clippy"]

0 commit comments

Comments
 (0)