mirror of
https://github.com/embassy-rs/embassy.git
synced 2025-09-30 05:40:55 +00:00
Merge pull request #4164 from yutannihilation/patch-1
doc: Tweak the example `rust-toolchain.toml`
This commit is contained in:
commit
9fee43f2bd
@ -150,7 +150,7 @@ stm32g474-example
|
|||||||
# Before upgrading check that everything is available on all tier1 targets here:
|
# Before upgrading check that everything is available on all tier1 targets here:
|
||||||
# https://rust-lang.github.io/rustup-components-history
|
# https://rust-lang.github.io/rustup-components-history
|
||||||
[toolchain]
|
[toolchain]
|
||||||
channel = "nightly-2023-11-01"
|
channel = "1.85"
|
||||||
components = [ "rust-src", "rustfmt", "llvm-tools", "miri" ]
|
components = [ "rust-src", "rustfmt", "llvm-tools", "miri" ]
|
||||||
targets = ["thumbv7em-none-eabi"]
|
targets = ["thumbv7em-none-eabi"]
|
||||||
----
|
----
|
||||||
|
@ -85,9 +85,9 @@ A minimal example:
|
|||||||
[source,toml]
|
[source,toml]
|
||||||
----
|
----
|
||||||
[toolchain]
|
[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"
|
components = [ "rust-src", "rustfmt" ] # <- optionally add "llvm-tools-preview" for some extra features like "cargo size"
|
||||||
targets = [
|
targets = [
|
||||||
"thumbv6m-none-eabi" # <-change for your platform
|
"thumbv6m-none-eabi" # <- change for your platform
|
||||||
]
|
]
|
||||||
----
|
----
|
||||||
|
Loading…
x
Reference in New Issue
Block a user