Commit graph

2 commits

Author SHA1 Message Date
Stan Hu
9e04d5d21a
Fix Rust installation
There were a number of issues:

1. `rustc` wasn't actually installed since the `INSTALL_RUST_VERSION`
argument wasn't set.

2. `rustup` wasn't running properly since the `CARGO_HOME` and
`RUSTUP_HOME`weren't being exported and set by default. We now use the
technique described in https://github.com/rust-lang/rustup/issues/1085
to create a wrapper and link all the binaries in /opt/rust/bin and
link them to /usr/local/bin.

3. `rustc version` is not a valid command. `rustc --version` is valid.
2023-01-18 17:33:45 -08:00
Hannes Moser
2001e1f9f1
Add Rust lang 2022-11-30 10:22:35 +01:00