Merge pull request #4164 from yutannihilation/patch-1

doc: Tweak the example `rust-toolchain.toml`
This commit is contained in:
Dario Nieuwenhuis 2025-05-04 11:20:52 +00:00 committed by GitHub
commit 9fee43f2bd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 3 additions and 3 deletions

View File

@ -150,7 +150,7 @@ stm32g474-example
# Before upgrading check that everything is available on all tier1 targets here:
# https://rust-lang.github.io/rustup-components-history
[toolchain]
channel = "nightly-2023-11-01"
channel = "1.85"
components = [ "rust-src", "rustfmt", "llvm-tools", "miri" ]
targets = ["thumbv7em-none-eabi"]
----

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
]
----