Skip to content

Commit c1e4ae0

Browse files
committed
Update instructions on installing rust
Signed-off-by: Jorge Prendes <[email protected]>
1 parent f80c9a5 commit c1e4ae0

File tree

2 files changed

+1
-11
lines changed

2 files changed

+1
-11
lines changed

README.md

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -171,15 +171,7 @@ You can run Hyperlight on:
171171
After having an environment with a hypervisor setup, running the example has the following pre-requisites:
172172

173173
1. On Linux or WSL, you'll most likely need build essential. For Ubuntu, run `sudo apt install build-essential`. For Azure Linux, run `sudo dnf install build-essential`.
174-
2. [Rust](https://www.rust-lang.org/tools/install). Install toolchain v1.78.0 or later.
175-
176-
Also, install the `x86_64-pc-windows-msvc` and `x86_64-unknown-none` targets, these are needed to build the test guest binaries. (Note: install both targets on either Linux or Windows: Hyperlight can load ELF or PE files on either OS, and the tests/examples are built for both):
177-
178-
```sh
179-
rustup target add x86_64-unknown-none
180-
rustup target add x86_64-pc-windows-msvc
181-
```
182-
174+
2. [Rust](https://www.rust-lang.org/tools/install). If you are using rustup you can move on to the next step, otherwise make sure to install the toolchain as specified in `rust-toolchain.toml`.
183175
3. [just](https://github.com/casey/just). `cargo install just` .
184176
4. [clang and LLVM](https://clang.llvm.org/get_started.html).
185177
- On Ubuntu, run:

hack/rust-dependabot-patch.Dockerfile

Lines changed: 0 additions & 2 deletions
This file was deleted.

0 commit comments

Comments
 (0)