Skip to content

Commit 19d0703

Browse files
committed
Auto merge of #64598 - Centril:rollup-htmf39p, r=Centril
Rollup of 5 pull requests Successful merges: - #63630 (Update installed compiler dependencies) - #64536 (Update Cargo) - #64554 (Polonius: more `ui` test suite fixes) - #64566 (A more generic interface for dataflow analysis) - #64591 (Fix a minor grammar nit, update UI tests) Failed merges: r? @ghost
2 parents eceec57 + cad2d58 commit 19d0703

28 files changed

+615
-25
lines changed

Cargo.lock

+29-3
Original file line numberDiff line numberDiff line change
@@ -270,6 +270,7 @@ dependencies = [
270270
"atty",
271271
"bytesize",
272272
"cargo-test-macro",
273+
"cargo-test-support",
273274
"clap",
274275
"core-foundation",
275276
"crates-io",
@@ -286,8 +287,9 @@ dependencies = [
286287
"git2",
287288
"git2-curl",
288289
"glob",
289-
"hex",
290+
"hex 0.4.0",
290291
"home",
292+
"humantime",
291293
"ignore",
292294
"im-rc",
293295
"jobserver",
@@ -327,6 +329,23 @@ dependencies = [
327329
name = "cargo-test-macro"
328330
version = "0.1.0"
329331

332+
[[package]]
333+
name = "cargo-test-support"
334+
version = "0.1.0"
335+
dependencies = [
336+
"cargo",
337+
"cargo-test-macro",
338+
"filetime",
339+
"flate2",
340+
"git2",
341+
"glob",
342+
"lazy_static 1.3.0",
343+
"remove_dir_all",
344+
"serde_json",
345+
"tar",
346+
"url 2.1.0",
347+
]
348+
330349
[[package]]
331350
name = "cargo_metadata"
332351
version = "0.8.0"
@@ -698,7 +717,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
698717
checksum = "09de9ee0fc255ace04c7fa0763c9395a945c37c8292bb554f8d48361d1dcf1b4"
699718
dependencies = [
700719
"commoncrypto",
701-
"hex",
720+
"hex 0.3.2",
702721
"openssl",
703722
"winapi 0.3.6",
704723
]
@@ -1260,6 +1279,12 @@ version = "0.3.2"
12601279
source = "registry+https://github.com/rust-lang/crates.io-index"
12611280
checksum = "805026a5d0141ffc30abb3be3173848ad46a1b1664fe632428479619a3644d77"
12621281

1282+
[[package]]
1283+
name = "hex"
1284+
version = "0.4.0"
1285+
source = "registry+https://github.com/rust-lang/crates.io-index"
1286+
checksum = "023b39be39e3a2da62a94feb433e91e8bcd37676fbc8bea371daf52b7a769a3e"
1287+
12631288
[[package]]
12641289
name = "home"
12651290
version = "0.5.0"
@@ -2062,7 +2087,7 @@ dependencies = [
20622087
"directories",
20632088
"env_logger",
20642089
"getrandom",
2065-
"hex",
2090+
"hex 0.3.2",
20662091
"log",
20672092
"num-traits",
20682093
"rand 0.7.0",
@@ -3257,6 +3282,7 @@ dependencies = [
32573282
"serde",
32583283
"serde_json",
32593284
"smallvec",
3285+
"url 2.1.0",
32603286
"winapi 0.3.6",
32613287
]
32623288

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
@@ -151,6 +151,17 @@ by manually calling the appropriate vcvars file before running the bootstrap.
151151
> python x.py build
152152
```
153153
154+
### Building rustc with older host toolchains
155+
It is still possible to build Rust with the older toolchain versions listed below, but only if the
156+
LLVM_TEMPORARILY_ALLOW_OLD_TOOLCHAIN option is set to true in the config.toml file.
157+
158+
* Clang 3.1
159+
* Apple Clang 3.1
160+
* GCC 4.8
161+
* Visual Studio 2015 (Update 3)
162+
163+
Toolchain versions older than what is listed above cannot be used to build rustc.
164+
154165
#### Specifying an ABI
155166
156167
Each specific ABI can also be used from either environment (for example, using

src/librustc/traits/select.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ impl IntercrateAmbiguityCause {
134134
String::new()
135135
};
136136
format!(
137-
"upstream crates may add new impl of trait `{}`{} \
137+
"upstream crates may add a new impl of trait `{}`{} \
138138
in future versions",
139139
trait_desc, self_desc
140140
)

0 commit comments

Comments
 (0)