Skip to content

Commit a4bcbd6

Browse files
authored
Merge pull request #784 from nealmcb/patch-1
For errors, gently suggest rustup check
2 parents 5ab9c4f + 7a1bb04 commit a4bcbd6

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

docs/content/quickstart.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -195,6 +195,8 @@ Successfully ran the build command for the Spin components.
195195
>
196196
> For more details, see the [page about developing Spin applications](./developing.md).
197197
198+
If you run into errors, you might want to use `rustup check` to see if your Rust installation is up-to-date.
199+
198200
## Running the application with `spin up`
199201

200202
Now that we configured the application and built our component, we can _spin up_

docs/content/rust-components.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -281,8 +281,8 @@ be used when implementing the component.
281281
Sometimes things can go wrong, especially such early projects. If you bump into
282282
issues building and running your Rust component:
283283

284-
- ensure `cargo` is present in your path — we recommend
285-
[Rust](https://www.rust-lang.org/) at [1.56+](https://www.rust-lang.org/tools/install)
284+
- ensure `cargo` is present in your path
285+
- ensure your [Rust](https://www.rust-lang.org/) version is recent, via `rustup check`
286286
- ensure `wasm32-wasi` target is configured for your Rust installation —
287287
you can add it by running `rustup target add wasm32-wasi`
288288
- build a `release` version of the component — all Spin application definitions

0 commit comments

Comments
 (0)