-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrust-toolchain.toml
More file actions
19 lines (19 loc) · 1.05 KB
/
Copy pathrust-toolchain.toml
File metadata and controls
19 lines (19 loc) · 1.05 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# Single source of truth for the Rust toolchain, shared by CI and local dev so the
# rustfmt/clippy versions always agree. rustup discovers this by walking up from the cwd,
# so it covers *both* cargo roots — the firmware/ workspace and the workspace-excluded
# firmware/obc-fw-nrf54l board crate (which has its own .cargo/config.toml that only
# selects a default build target; the two don't conflict).
#
# Tracks latest stable (no pinned version), so a new Rust can tighten a clippy lint and
# turn a previously-green PR red — fix the lint when that happens. The targets below are
# the cross-compiles CI needs; rustup installs them with the toolchain.
[toolchain]
channel = "stable"
profile = "minimal"
components = ["rustfmt", "clippy"]
targets = [
"thumbv8m.main-none-eabihf", # nRF54L device target (the shared no_std std-creep guard)
"wasm32-unknown-unknown", # obc-sim web build (Trunk)
"aarch64-apple-ios", # iOS staticlibs, device slice (also the Linux portability gate)
"aarch64-apple-ios-sim", # iOS staticlibs, simulator slice
]