1 # Single source of truth for the stable toolchain used by every build and
2 # workflow. Bare `cargo` in this repo resolves to this channel, so the version
3 # must NOT be duplicated in workflow files or build scripts — CI reads it from
4 # here (see .github/workflows/release-preflight.yml and release-sdk-*.yml).
5 #
6 # Why pinned rather than "stable": onde-mistralrs raises its MSRV independently
7 # of us. The 1.2.0 Swift release failed because CI installed stable (1.92.0)
8 # while the dependency tree required 1.94. A pin turns that into a one-line,
9 # reviewed change instead of a release-day surprise.
10 #
11 # tvOS/visionOS/watchOS are tier-3 and still need `cargo +nightly -Z build-std`
12 # with rust-src; that override is explicit in build-swift-xcframework.sh.
13 [toolchain]
14 channel = "1.94.0"