Skip to content

Commit 166719a

Browse files
committed
Update installed compiler dependencies
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
1 parent 0f41401 commit 166719a

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

Diff for: README.md

+12-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ or reading the [rustc guide][rustcguidebuild].
2626
### Building on *nix
2727
1. Make sure you have installed the dependencies:
2828

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

0 commit comments

Comments
 (0)