anvilsign in

collin/anvil

1# The one place the Rust version is set. rustup reads this for every cargo
2# invocation in the repo (installing the toolchain on first use), and
3# deploy/runner/build.sh parses `channel` out of it to bake the same version
4# into the anvil-runner:rust image — so the toolchain a CI job compiles with is
5# the one this checkout compiles with.
6#
7# The `rust-version` floor in Cargo.toml has to agree; .githooks/pre-commit
8# fails the commit if the two drift.
9#
10# `cargo +nightly fmt` (rustfmt.toml uses unstable options, see the hook) is
11# unaffected: an explicit +toolchain overrides this file.
12[toolchain]
13channel = "1.98.0"
14# deploy/build.sh cross-compiles the static binary the images COPY in. Listing
15# the target here means rustup installs it, so there is no `rustup target add`
16# step to remember.
17targets = ["x86_64-unknown-linux-musl"]
18components = ["clippy", "rustfmt"]