Add note to README to encourage using the rustup method to install Rust. (#6036)

* Add note to README to encourage using the rustup method to install Rust.

This addresses the root confusion in #6035.

* Update README.md

Co-authored-by: Nick Fitzgerald <fitzgen@gmail.com>

---------

Co-authored-by: Nick Fitzgerald <fitzgen@gmail.com>
This commit is contained in:
Chris Fallin
2023-03-16 17:05:28 -07:00
committed by GitHub
parent 8e500099b3
commit bf212b767b

View File

@@ -60,6 +60,11 @@ $ wasmtime hello.wasm
Hello, world! Hello, world!
``` ```
(Note: make sure you installed Rust using the `rustup` method in the official
instructions above, and do not have a copy of the Rust toolchain installed on
your system in some other way as well (e.g. the system package manager). Otherwise, the `rustup target add...`
command may not install the target for the correct copy of Rust.)
## Features ## Features
* **Fast**. Wasmtime is built on the optimizing [Cranelift] code generator to * **Fast**. Wasmtime is built on the optimizing [Cranelift] code generator to