Skip to content

Commit 75b0b6b

Browse files
committed
Add rust-toolchain.toml
1 parent 6914a68 commit 75b0b6b

File tree

2 files changed

+4
-7
lines changed

2 files changed

+4
-7
lines changed

Makefile

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -10,20 +10,15 @@ RUSTFLAGS+=-Cforce-frame-pointers=yes
1010
RUSTFLAGS+=-Ctarget-feature=-crt-static
1111
CC:=clang
1212

13-
RUST_VERSION?=+1.76.0
14-
1513
CARGO?=cargo
1614

17-
.PHONY: build clean toolchain
15+
.PHONY: build clean
1816

1917
build:
20-
RUSTFLAGS="$(RUSTFLAGS)" $(CARGO) $(RUST_VERSION) build --target x86_64-unknown-linux-gnu --release --lib
18+
RUSTFLAGS="$(RUSTFLAGS)" $(CARGO) build --target x86_64-unknown-linux-gnu --release --lib
2119

2220
test/self_test: test/self_test.c
2321
$(CC) -o $@ $< -Werror=all -pedantic -ldl -fsanitize=address,fuzzer-no-link -fsanitize-coverage=inline-8bit-counters
2422

2523
clean:
2624
$(CARGO) clean
27-
28-
toolchain:
29-
rustup toolchain install $(RUST_VERSION)

rust-toolchain.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
[toolchain]
2+
channel = "1.76.0"

0 commit comments

Comments
 (0)