aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDario Nieuwenhuis <[email protected]>2025-05-04 11:20:52 +0000
committerGitHub <[email protected]>2025-05-04 11:20:52 +0000
commit9fee43f2bd57e7ce77321d001cdd287f0bd6fef2 (patch)
treeffa57a41aa44d119bd2f087f137229c73709c96b
parent93ff90db04f06316f0992b65a0319ebdf74ce5c4 (diff)
parenta42fa0a67aef90453b239b62b81df8db20664c87 (diff)
Merge pull request #4164 from yutannihilation/patch-1
doc: Tweak the example `rust-toolchain.toml`
-rw-r--r--docs/pages/new_project.adoc2
-rw-r--r--docs/pages/project_structure.adoc4
2 files changed, 3 insertions, 3 deletions
diff --git a/docs/pages/new_project.adoc b/docs/pages/new_project.adoc
index af1cb75c5..cd943b4f6 100644
--- a/docs/pages/new_project.adoc
+++ b/docs/pages/new_project.adoc
@@ -150,7 +150,7 @@ stm32g474-example
150# Before upgrading check that everything is available on all tier1 targets here: 150# Before upgrading check that everything is available on all tier1 targets here:
151# https://rust-lang.github.io/rustup-components-history 151# https://rust-lang.github.io/rustup-components-history
152[toolchain] 152[toolchain]
153channel = "nightly-2023-11-01" 153channel = "1.85"
154components = [ "rust-src", "rustfmt", "llvm-tools", "miri" ] 154components = [ "rust-src", "rustfmt", "llvm-tools", "miri" ]
155targets = ["thumbv7em-none-eabi"] 155targets = ["thumbv7em-none-eabi"]
156---- 156----
diff --git a/docs/pages/project_structure.adoc b/docs/pages/project_structure.adoc
index 722ec8d9d..227508b97 100644
--- a/docs/pages/project_structure.adoc
+++ b/docs/pages/project_structure.adoc
@@ -85,9 +85,9 @@ A minimal example:
85[source,toml] 85[source,toml]
86---- 86----
87[toolchain] 87[toolchain]
88channel = "nightly-2023-08-19" # <- as of writing, this is the exact rust version embassy uses 88channel = "1.85" # <- as of writing, this is the exact rust version embassy uses
89components = [ "rust-src", "rustfmt" ] # <- optionally add "llvm-tools-preview" for some extra features like "cargo size" 89components = [ "rust-src", "rustfmt" ] # <- optionally add "llvm-tools-preview" for some extra features like "cargo size"
90targets = [ 90targets = [
91 "thumbv6m-none-eabi" # <-change for your platform 91 "thumbv6m-none-eabi" # <- change for your platform
92] 92]
93---- 93----