Skip to content

Commit

Permalink
Update installed compiler dependencies
Browse files Browse the repository at this point in the history
there is a soft-error for older toolchains
from https://reviews.llvm.org/D57264 in preparation for the
hard error in https://reviews.llvm.org/D66188
  • Loading branch information
andjo403 committed Sep 14, 2019
1 parent 0f41401 commit 166719a
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ or reading the [rustc guide][rustcguidebuild].
### Building on *nix
1. Make sure you have installed the dependencies:

* `g++` 4.7 or later or `clang++` 3.x or later
* `g++` 5.1 or later or `clang++` 3.5 or later
* `python` 2.7 (but not 3.x)
* GNU `make` 3.81 or later
* `cmake` 3.4.3 or later
Expand Down Expand Up @@ -148,6 +148,17 @@ by manually calling the appropriate vcvars file before running the bootstrap.
> python x.py build
```
### Building rustc with older host toolchains
It is still possible to build Rust with the older toolchain versions listed below, but only if the
LLVM_TEMPORARILY_ALLOW_OLD_TOOLCHAIN option is set to true in the config.toml file.
* Clang 3.1
* Apple Clang 3.1
* GCC 4.8
* Visual Studio 2015 (Update 3)
Toolchain versions older than what is listed above cannot be used to build rustc.
#### Specifying an ABI
Each specific ABI can also be used from either environment (for example, using
Expand Down

0 comments on commit 166719a

Please sign in to comment.