# THE COMPILER, and it is the build container's compiler.
#
# 1.97.1 is what the pinned `nordisk-cargo-toolchain` image carries
# (`crates/gunnar-ui-recipe`, `[build.toolchain] rust_version`). The rows build
# in that image with `--network none`, and rustup inside it honours this file:
# a channel the image does not carry sends rustup to the network, and every
# cargo call dies (ODEN-CI round 1, 2026-10-25, with 1.96.0). The image carries
# rustfmt, clippy and the wasm32 target, so these lines resolve offline.
# `tests/toolchain_pin.rs` in gunnar-ui-recipe holds this equal to the image.
[toolchain]
channel = "1.97.1"
components = ["rustfmt", "clippy"]
targets = ["wasm32-unknown-unknown"]