Tweak the example rust-toolchain.toml in doc

This commit is contained in:
Hiroaki Yutani 2025-05-04 09:39:35 +09:00 committed by GitHub
parent 93ff90db04
commit 0406b83c52
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -85,9 +85,9 @@ A minimal example:
[source,toml]
----
[toolchain]
channel = "nightly-2023-08-19" # <- as of writing, this is the exact rust version embassy uses
channel = "1.85" # <- as of writing, this is the exact rust version embassy uses
components = [ "rust-src", "rustfmt" ] # <- optionally add "llvm-tools-preview" for some extra features like "cargo size"
targets = [
"thumbv6m-none-eabi" # <-change for your platform
"thumbv6m-none-eabi" # <- change for your platform
]
----