1
0
Fork 0
mirror of https://github.com/alacritty/alacritty.git synced 2024-11-18 13:55:23 -05:00

Move rust dependency to the Prerequisites section (#724)

* Move rust dependency to the Prerequisites section
* Remove reference to a specific compiler version
This commit is contained in:
Maxim Baz 2017-08-12 21:49:57 +02:00 committed by Joe Wilm
parent 492d1bd3d5
commit 4e9b1c590e

View file

@ -56,8 +56,13 @@ makepkg -isr
### Prerequisites
1. Install [`rustup.rs`](https://rustup.rs/). **DO NOT** use the Homebrew Rust
compiler on macOS (see FAQ for explanation).
1. Alacritty requires most recent stable Rust compiler. If your distribution provides it as a package (e.g. `rust` on Arch Linux), install it with the package manager. Alternatively see below on how to install it with `rustup`.
Note: **DO NOT** use the Homebrew Rust compiler on macOS (see FAQ for explanation).
#### Installing Rust compiler with `rustup`
1. Install [`rustup.rs`](https://rustup.rs/).
2. Clone the source code:
@ -66,8 +71,7 @@ makepkg -isr
cd alacritty
```
3. Make sure you have the right Rust compiler installed. Alacritty requires at
least 1.18. Run
3. Make sure you have the right Rust compiler installed. Run
```sh
rustup override set stable
@ -91,7 +95,7 @@ On Arch Linux, you need a few extra libraries to build Alacritty. Here's a
to be missing, please open an issue.
```sh
pacman -S cmake freetype2 fontconfig pkg-config make xclip rust
pacman -S cmake freetype2 fontconfig pkg-config make xclip
```
#### Fedora