Skip to content

Commit 90b2b67

Browse files
author
Saleem Jaffer
committed
Merge remote-tracking branch 'upstream/master' into refactor_typecast_check_kinds
2 parents 2123539 + f0be457 commit 90b2b67

File tree

643 files changed

+11836
-6865
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

643 files changed

+11836
-6865
lines changed

.gitmodules

+2-2
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
url = https://github.com/rust-lang-nursery/rustfmt.git
2525
[submodule "src/tools/miri"]
2626
path = src/tools/miri
27-
url = https://github.com/solson/miri.git
27+
url = https://github.com/rust-lang/miri.git
2828
[submodule "src/doc/rust-by-example"]
2929
path = src/doc/rust-by-example
3030
url = https://github.com/rust-lang/rust-by-example.git
@@ -46,4 +46,4 @@
4646
branch = rustc/8.0-2019-01-16
4747
[submodule "src/doc/embedded-book"]
4848
path = src/doc/embedded-book
49-
url = https://github.com/rust-embedded/book.git
49+
url = https://github.com/rust-embedded/book.git

CONTRIBUTING.md

+9-9
Original file line numberDiff line numberDiff line change
@@ -161,10 +161,10 @@ it can be found [here][rctd].
161161

162162
Currently building Rust will also build the following external projects:
163163

164-
* [clippy](https://github.com/rust-lang-nursery/rust-clippy)
165-
* [miri](https://github.com/solson/miri)
166-
* [rustfmt](https://github.com/rust-lang-nursery/rustfmt)
167-
* [rls](https://github.com/rust-lang-nursery/rls/)
164+
* [clippy](https://github.com/rust-lang/rust-clippy)
165+
* [miri](https://github.com/rust-lang/miri)
166+
* [rustfmt](https://github.com/rust-lang/rustfmt)
167+
* [rls](https://github.com/rust-lang/rls/)
168168

169169
We allow breakage of these tools in the nightly channel. Maintainers of these
170170
projects will be notified of the breakages and should fix them as soon as
@@ -191,9 +191,9 @@ before the PR is merged.
191191

192192
Rust's build system builds a number of tools that make use of the
193193
internals of the compiler. This includes
194-
[Clippy](https://github.com/rust-lang-nursery/rust-clippy),
195-
[RLS](https://github.com/rust-lang-nursery/rls) and
196-
[rustfmt](https://github.com/rust-lang-nursery/rustfmt). If these tools
194+
[Clippy](https://github.com/rust-lang/rust-clippy),
195+
[RLS](https://github.com/rust-lang/rls) and
196+
[rustfmt](https://github.com/rust-lang/rustfmt). If these tools
197197
break because of your changes, you may run into a sort of "chicken and egg"
198198
problem. These tools rely on the latest compiler to be built so you can't update
199199
them to reflect your changes to the compiler until those changes are merged into
@@ -253,10 +253,10 @@ to complete a few more steps which are outlined with their rationale below.
253253

254254
*(This error may change in the future to include more information.)*
255255
```
256-
error: failed to resolve patches for `https://github.com/rust-lang-nursery/rustfmt`
256+
error: failed to resolve patches for `https://github.com/rust-lang/rustfmt`
257257
258258
Caused by:
259-
patch for `rustfmt-nightly` in `https://github.com/rust-lang-nursery/rustfmt` did not resolve to any crates
259+
patch for `rustfmt-nightly` in `https://github.com/rust-lang/rustfmt` did not resolve to any crates
260260
failed to run: ~/rust/build/x86_64-unknown-linux-gnu/stage0/bin/cargo build --manifest-path ~/rust/src/bootstrap/Cargo.toml
261261
```
262262

Cargo.lock

+9-41
Original file line numberDiff line numberDiff line change
@@ -254,7 +254,7 @@ dependencies = [
254254
"glob 0.2.11 (registry+https://github.com/rust-lang/crates.io-index)",
255255
"hex 0.3.2 (registry+https://github.com/rust-lang/crates.io-index)",
256256
"home 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)",
257-
"ignore 0.4.4 (registry+https://github.com/rust-lang/crates.io-index)",
257+
"ignore 0.4.6 (registry+https://github.com/rust-lang/crates.io-index)",
258258
"im-rc 12.3.0 (registry+https://github.com/rust-lang/crates.io-index)",
259259
"jobserver 0.1.12 (registry+https://github.com/rust-lang/crates.io-index)",
260260
"lazy_static 1.2.0 (registry+https://github.com/rust-lang/crates.io-index)",
@@ -565,18 +565,6 @@ dependencies = [
565565
"cfg-if 0.1.6 (registry+https://github.com/rust-lang/crates.io-index)",
566566
]
567567

568-
[[package]]
569-
name = "crossbeam-channel"
570-
version = "0.2.6"
571-
source = "registry+https://github.com/rust-lang/crates.io-index"
572-
dependencies = [
573-
"crossbeam-epoch 0.6.0 (registry+https://github.com/rust-lang/crates.io-index)",
574-
"crossbeam-utils 0.5.0 (registry+https://github.com/rust-lang/crates.io-index)",
575-
"parking_lot 0.6.4 (registry+https://github.com/rust-lang/crates.io-index)",
576-
"rand 0.5.5 (registry+https://github.com/rust-lang/crates.io-index)",
577-
"smallvec 0.6.7 (registry+https://github.com/rust-lang/crates.io-index)",
578-
]
579-
580568
[[package]]
581569
name = "crossbeam-channel"
582570
version = "0.3.4"
@@ -621,19 +609,6 @@ dependencies = [
621609
"scopeguard 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)",
622610
]
623611

624-
[[package]]
625-
name = "crossbeam-epoch"
626-
version = "0.6.0"
627-
source = "registry+https://github.com/rust-lang/crates.io-index"
628-
dependencies = [
629-
"arrayvec 0.4.7 (registry+https://github.com/rust-lang/crates.io-index)",
630-
"cfg-if 0.1.6 (registry+https://github.com/rust-lang/crates.io-index)",
631-
"crossbeam-utils 0.5.0 (registry+https://github.com/rust-lang/crates.io-index)",
632-
"lazy_static 1.2.0 (registry+https://github.com/rust-lang/crates.io-index)",
633-
"memoffset 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)",
634-
"scopeguard 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)",
635-
]
636-
637612
[[package]]
638613
name = "crossbeam-epoch"
639614
version = "0.7.0"
@@ -655,11 +630,6 @@ dependencies = [
655630
"cfg-if 0.1.6 (registry+https://github.com/rust-lang/crates.io-index)",
656631
]
657632

658-
[[package]]
659-
name = "crossbeam-utils"
660-
version = "0.5.0"
661-
source = "registry+https://github.com/rust-lang/crates.io-index"
662-
663633
[[package]]
664634
name = "crossbeam-utils"
665635
version = "0.6.2"
@@ -1148,10 +1118,10 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
11481118

11491119
[[package]]
11501120
name = "ignore"
1151-
version = "0.4.4"
1121+
version = "0.4.6"
11521122
source = "registry+https://github.com/rust-lang/crates.io-index"
11531123
dependencies = [
1154-
"crossbeam-channel 0.2.6 (registry+https://github.com/rust-lang/crates.io-index)",
1124+
"crossbeam-channel 0.3.4 (registry+https://github.com/rust-lang/crates.io-index)",
11551125
"globset 0.4.2 (registry+https://github.com/rust-lang/crates.io-index)",
11561126
"lazy_static 1.2.0 (registry+https://github.com/rust-lang/crates.io-index)",
11571127
"log 0.4.6 (registry+https://github.com/rust-lang/crates.io-index)",
@@ -1626,6 +1596,7 @@ dependencies = [
16261596
"log 0.4.6 (registry+https://github.com/rust-lang/crates.io-index)",
16271597
"rustc-workspace-hack 1.0.0",
16281598
"rustc_version 0.2.3 (registry+https://github.com/rust-lang/crates.io-index)",
1599+
"shell-escape 0.1.4 (registry+https://github.com/rust-lang/crates.io-index)",
16291600
"vergen 3.0.4 (registry+https://github.com/rust-lang/crates.io-index)",
16301601
]
16311602

@@ -2401,7 +2372,7 @@ dependencies = [
24012372
"lazy_static 1.2.0 (registry+https://github.com/rust-lang/crates.io-index)",
24022373
"log 0.4.6 (registry+https://github.com/rust-lang/crates.io-index)",
24032374
"num_cpus 1.8.0 (registry+https://github.com/rust-lang/crates.io-index)",
2404-
"parking_lot 0.6.4 (registry+https://github.com/rust-lang/crates.io-index)",
2375+
"parking_lot 0.7.1 (registry+https://github.com/rust-lang/crates.io-index)",
24052376
"polonius-engine 0.6.2 (registry+https://github.com/rust-lang/crates.io-index)",
24062377
"rustc-rayon 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)",
24072378
"rustc-rayon-core 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)",
@@ -2589,7 +2560,7 @@ name = "rustc-workspace-hack"
25892560
version = "1.0.0"
25902561
dependencies = [
25912562
"byteorder 1.2.7 (registry+https://github.com/rust-lang/crates.io-index)",
2592-
"parking_lot 0.6.4 (registry+https://github.com/rust-lang/crates.io-index)",
2563+
"parking_lot 0.7.1 (registry+https://github.com/rust-lang/crates.io-index)",
25932564
"rand 0.5.5 (registry+https://github.com/rust-lang/crates.io-index)",
25942565
"scopeguard 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)",
25952566
"serde 1.0.82 (registry+https://github.com/rust-lang/crates.io-index)",
@@ -2718,7 +2689,7 @@ dependencies = [
27182689
"ena 0.11.0 (registry+https://github.com/rust-lang/crates.io-index)",
27192690
"graphviz 0.0.0",
27202691
"log 0.4.6 (registry+https://github.com/rust-lang/crates.io-index)",
2721-
"parking_lot 0.6.4 (registry+https://github.com/rust-lang/crates.io-index)",
2692+
"parking_lot 0.7.1 (registry+https://github.com/rust-lang/crates.io-index)",
27222693
"rustc-hash 1.0.1 (registry+https://github.com/rust-lang/crates.io-index)",
27232694
"rustc-rayon 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)",
27242695
"rustc-rayon-core 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)",
@@ -3022,7 +2993,7 @@ name = "rustdoc"
30222993
version = "0.0.0"
30232994
dependencies = [
30242995
"minifier 0.0.28 (registry+https://github.com/rust-lang/crates.io-index)",
3025-
"parking_lot 0.6.4 (registry+https://github.com/rust-lang/crates.io-index)",
2996+
"parking_lot 0.7.1 (registry+https://github.com/rust-lang/crates.io-index)",
30262997
"pulldown-cmark 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)",
30272998
"tempfile 3.0.5 (registry+https://github.com/rust-lang/crates.io-index)",
30282999
]
@@ -4011,15 +3982,12 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
40113982
"checksum core-foundation-sys 0.6.2 (registry+https://github.com/rust-lang/crates.io-index)" = "e7ca8a5221364ef15ce201e8ed2f609fc312682a8f4e0e3d4aa5879764e0fa3b"
40123983
"checksum crc 1.8.1 (registry+https://github.com/rust-lang/crates.io-index)" = "d663548de7f5cca343f1e0a48d14dcfb0e9eb4e079ec58883b7251539fa10aeb"
40133984
"checksum crc32fast 1.1.2 (registry+https://github.com/rust-lang/crates.io-index)" = "e91d5240c6975ef33aeb5f148f35275c25eda8e8a5f95abe421978b05b8bf192"
4014-
"checksum crossbeam-channel 0.2.6 (registry+https://github.com/rust-lang/crates.io-index)" = "7b85741761b7f160bc5e7e0c14986ef685b7f8bf9b7ad081c60c604bb4649827"
40153985
"checksum crossbeam-channel 0.3.4 (registry+https://github.com/rust-lang/crates.io-index)" = "5b2a9ea8f77c7f9efd317a8a5645f515d903a2d86ee14d2337a5facd1bd52c12"
40163986
"checksum crossbeam-deque 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)" = "f739f8c5363aca78cfb059edf753d8f0d36908c348f3d8d1503f03d8b75d9cf3"
40173987
"checksum crossbeam-deque 0.6.3 (registry+https://github.com/rust-lang/crates.io-index)" = "05e44b8cf3e1a625844d1750e1f7820da46044ff6d28f4d43e455ba3e5bb2c13"
40183988
"checksum crossbeam-epoch 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)" = "927121f5407de9956180ff5e936fe3cf4324279280001cd56b669d28ee7e9150"
4019-
"checksum crossbeam-epoch 0.6.0 (registry+https://github.com/rust-lang/crates.io-index)" = "9c90f1474584f38e270b5b613e898c8c328aa4f3dea85e0a27ac2e642f009416"
40203989
"checksum crossbeam-epoch 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)" = "f10a4f8f409aaac4b16a5474fb233624238fcdeefb9ba50d5ea059aab63ba31c"
40213990
"checksum crossbeam-utils 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)" = "2760899e32a1d58d5abb31129f8fae5de75220bc2176e77ff7c627ae45c918d9"
4022-
"checksum crossbeam-utils 0.5.0 (registry+https://github.com/rust-lang/crates.io-index)" = "677d453a17e8bd2b913fa38e8b9cf04bcdbb5be790aa294f2389661d72036015"
40233991
"checksum crossbeam-utils 0.6.2 (registry+https://github.com/rust-lang/crates.io-index)" = "e07fc155212827475223f0bcfae57e945e694fc90950ddf3f6695bbfd5555c72"
40243992
"checksum crypto-hash 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)" = "09de9ee0fc255ace04c7fa0763c9395a945c37c8292bb554f8d48361d1dcf1b4"
40253993
"checksum curl 0.4.19 (registry+https://github.com/rust-lang/crates.io-index)" = "c7c9d851c825e0c033979d4516c9173bc19a78a96eb4d6ae51d4045440eafa16"
@@ -4073,7 +4041,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
40734041
"checksum humantime 1.2.0 (registry+https://github.com/rust-lang/crates.io-index)" = "3ca7e5f2e110db35f93b837c81797f3714500b81d517bf20c431b16d3ca4f114"
40744042
"checksum idna 0.1.5 (registry+https://github.com/rust-lang/crates.io-index)" = "38f09e0f0b1fb55fdee1f17470ad800da77af5186a1a76c026b679358b7e844e"
40754043
"checksum if_chain 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)" = "4bac95d9aa0624e7b78187d6fb8ab012b41d9f6f54b1bcb61e61c4845f8357ec"
4076-
"checksum ignore 0.4.4 (registry+https://github.com/rust-lang/crates.io-index)" = "36ecfc5ad80f0b1226df948c562e2cddd446096be3f644c95106400eae8a5e01"
4044+
"checksum ignore 0.4.6 (registry+https://github.com/rust-lang/crates.io-index)" = "ad03ca67dc12474ecd91fdb94d758cbd20cb4e7a78ebe831df26a9b7511e1162"
40774045
"checksum im-rc 12.3.0 (registry+https://github.com/rust-lang/crates.io-index)" = "9460397452f537fd51808056ff209f4c4c4c9d20d42ae952f517708726284972"
40784046
"checksum iovec 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)" = "dbe6e417e7d0975db6512b90796e8ce223145ac4e33c377e4a42882a0e88bb08"
40794047
"checksum is-match 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)" = "7e5b386aef33a1c677be65237cb9d32c3f3ef56bd035949710c4bb13083eb053"

RELEASES.md

+148
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,151 @@
1+
Version 1.33.0 (2019-02-28)
2+
==========================
3+
4+
Language
5+
--------
6+
- [You can now use the `cfg(target_vendor)` attribute.][57465] E.g.
7+
`#[cfg(target_vendor="linux")] fn main() { println!("Hello Linux!"); }`
8+
- [Integer patterns such as in a match expression can now be exhaustive.][56362]
9+
E.g. You can have match statement on a `u8` that covers `0..=255` and
10+
you would no longer be required to have a `_ => unreachable!()` case.
11+
- [You can now have multiple patterns in `if let` and `while let`
12+
expressions.][57532] You can do this with the same syntax as a `match`
13+
expression. E.g.
14+
```rust
15+
enum Creature {
16+
Crab(String),
17+
Lobster(String),
18+
Person(String),
19+
}
20+
21+
fn main() {
22+
let state = Creature::Crab("Ferris");
23+
24+
if let Creature::Crab(name) | Creature::Person(name) = state {
25+
println!("This creature's name is: {}", name);
26+
}
27+
}
28+
```
29+
- [You can now have irrefutable `if let` and `while let` patterns.][57535] Using
30+
this feature will by default produce a warning as this behaviour can be
31+
unintuitive. E.g. `if let _ = 5 {}`
32+
- [You can now use `let` bindings, assignments, expression statements,
33+
and irrefutable pattern destructuring in const functions.][57175]
34+
- [You can now call unsafe const functions.][57067] E.g.
35+
```rust
36+
const unsafe fn foo() -> i32 { 5 }
37+
const fn bar() -> i32 {
38+
unsafe { foo() }
39+
}
40+
```
41+
- [You can now specify multiple attributes in a `cfg_attr` attribute.][57332]
42+
E.g. `#[cfg_attr(all(), must_use, optimize)]`
43+
- [You can now specify a specific alignment with the `#[repr(packed)]`
44+
attribute.][57049] E.g. `#[repr(packed(2))] struct Foo(i16, i32);` is a struct
45+
with an alignment of 2 bytes and a size of 6 bytes.
46+
- [You can now import an item from a module as an `_`.][56303] This allows you to
47+
import a trait's impls, and not have the name in the namespace. E.g.
48+
```rust
49+
use std::io::Read as _;
50+
51+
// Allowed as there is only one `Read` in the module.
52+
pub trait Read {}
53+
```
54+
- [`extern` functions will now abort by default when panicking.][55982]
55+
This was previously undefined behaviour.
56+
57+
Compiler
58+
--------
59+
- [You can now set a linker flavor for `rustc` with the `-Clinker-flavor`
60+
command line argument.][56351]
61+
- [The mininum required LLVM version has been bumped to 6.0.][56642]
62+
- [Added support for the PowerPC64 architecture on FreeBSD.][57615]
63+
- [The `x86_64-fortanix-unknown-sgx` target support has been upgraded to
64+
tier 2 support.][57130] Visit the [platform support][platform-support] page for
65+
information on Rust's platform support.
66+
- [Added support for the `thumbv7neon-linux-androideabi` and
67+
`thumbv7neon-unknown-linux-gnueabihf` targets.][56947]
68+
- [Added support for the `x86_64-unknown-uefi` target.][56769]
69+
70+
Libraries
71+
---------
72+
- [The methods `overflowing_{add, sub, mul, shl, shr}` are now `const`
73+
functions for all numeric types.][57566]
74+
- [The methods `rotate_left`, `rotate_right`, and `wrapping_{add, sub, mul, shl, shr}`
75+
are now `const` functions for all numeric types.][57105]
76+
- [The methods `is_positive` and `is_negative` are now `const` functions for
77+
all signed numeric types.][57105]
78+
- [The `get` method for all `NonZero` types is now `const`.][57167]
79+
- [The methods `count_ones`, `count_zeros`, `leading_zeros`, `trailing_zeros`,
80+
`swap_bytes`, `from_be`, `from_le`, `to_be`, `to_le` are now `const` for all
81+
numeric types.][57234]
82+
- [`Ipv4Addr::new` is now a `const` function][57234]
83+
84+
Stabilized APIs
85+
---------------
86+
- [`unix::FileExt::read_exact_at`]
87+
- [`unix::FileExt::write_all_at`]
88+
- [`Option::transpose`]
89+
- [`Result::transpose`]
90+
- [`convert::identity`]
91+
- [`pin::Pin`]
92+
- [`marker::Unpin`]
93+
- [`marker::PhantomPinned`]
94+
- [`Vec::resize_with`]
95+
- [`VecDeque::resize_with`]
96+
- [`Duration::as_millis`]
97+
- [`Duration::as_micros`]
98+
- [`Duration::as_nanos`]
99+
100+
101+
Cargo
102+
-----
103+
- [Cargo should now rebuild a crate if a file was modified during the initial
104+
build.][cargo/6484]
105+
106+
Compatibility Notes
107+
-------------------
108+
- The methods `str::{trim_left, trim_right, trim_left_matches, trim_right_matches}`
109+
are now deprecated in the standard library, and their usage will now produce a warning.
110+
Please use the `str::{trim_start, trim_end, trim_start_matches, trim_end_matches}`
111+
methods instead.
112+
113+
[57615]: https://github.com/rust-lang/rust/pull/57615/
114+
[57465]: https://github.com/rust-lang/rust/pull/57465/
115+
[57532]: https://github.com/rust-lang/rust/pull/57532/
116+
[57535]: https://github.com/rust-lang/rust/pull/57535/
117+
[57566]: https://github.com/rust-lang/rust/pull/57566/
118+
[57130]: https://github.com/rust-lang/rust/pull/57130/
119+
[57167]: https://github.com/rust-lang/rust/pull/57167/
120+
[57175]: https://github.com/rust-lang/rust/pull/57175/
121+
[57234]: https://github.com/rust-lang/rust/pull/57234/
122+
[57332]: https://github.com/rust-lang/rust/pull/57332/
123+
[56947]: https://github.com/rust-lang/rust/pull/56947/
124+
[57049]: https://github.com/rust-lang/rust/pull/57049/
125+
[57067]: https://github.com/rust-lang/rust/pull/57067/
126+
[56769]: https://github.com/rust-lang/rust/pull/56769/
127+
[56642]: https://github.com/rust-lang/rust/pull/56642/
128+
[56303]: https://github.com/rust-lang/rust/pull/56303/
129+
[56351]: https://github.com/rust-lang/rust/pull/56351/
130+
[55982]: https://github.com/rust-lang/rust/pull/55982/
131+
[56362]: https://github.com/rust-lang/rust/pull/56362
132+
[57105]: https://github.com/rust-lang/rust/pull/57105
133+
[cargo/6484]: https://github.com/rust-lang/cargo/pull/6484/
134+
[`unix::FileExt::read_exact_at`]: https://doc.rust-lang.org/std/os/unix/fs/trait.FileExt.html#method.read_exact_at
135+
[`unix::FileExt::write_all_at`]: https://doc.rust-lang.org/std/os/unix/fs/trait.FileExt.html#method.write_all_at
136+
[`Option::transpose`]: https://doc.rust-lang.org/std/option/enum.Option.html#method.transpose
137+
[`Result::transpose`]: https://doc.rust-lang.org/std/result/enum.Result.html#method.transpose
138+
[`convert::identity`]: https://doc.rust-lang.org/std/convert/fn.identity.html
139+
[`pin::Pin`]: https://doc.rust-lang.org/std/pin/struct.Pin.html
140+
[`marker::Unpin`]: https://doc.rust-lang.org/stable/std/marker/trait.Unpin.html
141+
[`marker::PhantomPinned`]: https://doc.rust-lang.org/nightly/std/marker/struct.PhantomPinned.html
142+
[`Vec::resize_with`]: https://doc.rust-lang.org/std/vec/struct.Vec.html#method.resize_with
143+
[`VecDeque::resize_with`]: https://doc.rust-lang.org/std/collections/struct.VecDeque.html#method.resize_with
144+
[`Duration::as_millis`]: https://doc.rust-lang.org/std/time/struct.Duration.html#method.as_millis
145+
[`Duration::as_micros`]: https://doc.rust-lang.org/std/time/struct.Duration.html#method.as_micros
146+
[`Duration::as_nanos`]: https://doc.rust-lang.org/std/time/struct.Duration.html#method.as_nanos
147+
[platform-support]: https://forge.rust-lang.org/platform-support.html
148+
1149
Version 1.32.0 (2019-01-17)
2150
==========================
3151

appveyor.yml

+5
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,11 @@ environment:
55
# server goes down presumably. See #43333 for more info
66
CARGO_HTTP_CHECK_REVOKE: false
77

8+
# Execute the builds on GCE instead of Hyper-V. Those builders have a 3-4
9+
# minute startup overhead, but AppVeyor support recommended this as a
10+
# possible solution for #58160 (spurious 259 exit codes)
11+
appveyor_build_worker_cloud: gce
12+
813
matrix:
914
# 32/64 bit MSVC tests
1015
- MSYS_BITS: 64

src/bootstrap/bin/main.rs

-2
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,6 @@
77
88
#![deny(warnings)]
99

10-
extern crate bootstrap;
11-
1210
use std::env;
1311

1412
use bootstrap::{Config, Build};

src/bootstrap/bin/rustc.rs

-2
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,6 @@
1717
1818
#![deny(warnings)]
1919

20-
extern crate bootstrap;
21-
2220
use std::env;
2321
use std::ffi::OsString;
2422
use std::io;

src/bootstrap/bin/rustdoc.rs

-2
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@
44
55
#![deny(warnings)]
66

7-
extern crate bootstrap;
8-
97
use std::env;
108
use std::process::Command;
119
use std::path::PathBuf;

src/bootstrap/bin/sccache-plus-cl.rs

-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
extern crate cc;
2-
31
use std::env;
42
use std::process::{self, Command};
53

0 commit comments

Comments
 (0)