-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathrust-toolchain.toml
More file actions
16 lines (16 loc) · 933 Bytes
/
rust-toolchain.toml
File metadata and controls
16 lines (16 loc) · 933 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
[toolchain]
# Pinned to a specific stable version, not the floating "stable" channel.
# A compromised rustc release would land transparently otherwise. Bump
# deliberately, with a few days between Rust's release and our pin update.
channel = "1.95.0"
# rustup installs only the minimal profile for a pinned channel by default
# (rustc + cargo + rust-std). CI invokes `cargo fmt` and `cargo clippy`, both
# of which need their respective components installed. Declare them here so
# the runner picks them up automatically — without this, every CI Rust job
# fails at the rustfmt step.
components = ["rustfmt", "clippy"]
# Release builds the universal binary from both arch targets, so the pinned
# channel needs both available. Listing them here makes rustup auto-sync them
# the first time the toolchain is resolved; no separate `rustup target add`
# step is needed in CI.
targets = ["aarch64-apple-darwin", "x86_64-apple-darwin"]