Skip to content

Upvar tuple #29

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 121 commits into
base: closure-upvar-ty-tuple
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
121 commits
Select commit Hold shift + click to select a range
5c11392
Redo the docs for Vec::set_len
scottmcm Dec 2, 2018
ac642ab
Update the comment some more following CR feedback
scottmcm Dec 12, 2018
0eacf2c
Sidestep ICE in `FieldPlacement::count` by not calling it when count …
pnkfelix Dec 21, 2018
7e7c337
stabilize const_int_wrapping.
Centril Dec 24, 2018
e258489
stabilize const_int_rotate
Centril Dec 24, 2018
eb0597a
stabilize const_int_sign
Centril Dec 24, 2018
d85ec4a
const stabilizations: adjust run-pass tests.
Centril Dec 24, 2018
35d77fc
unchecked_{shl,shr}: extend const tests.
Centril Dec 29, 2018
e4c47f9
qualify_min_const_fn: improve note.
Centril Dec 29, 2018
fedfb61
make some intrinsics safe.
Centril Dec 31, 2018
50152d2
now that some intrisics are safe, use that fact.
Centril Dec 31, 2018
2760f87
const-stabilize const_int_ops + reverse_bits
Centril Dec 31, 2018
14be8a7
const-stabilize Ipv4Addr::new
Centril Dec 31, 2018
61fb909
Update src/liballoc/vec.rs
Centril Jan 3, 2019
40658fd
Fixed the link to the ? operator
JosephTLyons Jan 3, 2019
85c4b4c
use the correct supertrait substitution in `object_ty_for_trait`
arielb1 Jan 5, 2019
42e65c1
Use CMAKE_{C,CXX}_COMPILER_LAUNCHER for ccache
petrhosek Jan 6, 2019
239ac2b
Source Serif Pro regular and bold 2.007, and italic 1.007
tspiteri Jan 7, 2019
aa257ec
Replace Heuristica with Source Serif Pro italic in rustdoc.css
tspiteri Jan 7, 2019
d2ac094
Update static files code for updated Source Serif Pro font
tspiteri Jan 7, 2019
dac6eec
semi-revert libsyntax doctest parsing if a macro is wrapping main
QuietMisdreavus Dec 20, 2018
68b8b43
Add link destination for `read-ownership`
ecstatic-morse Jan 8, 2019
8780ebf
Remove `CrateNum::Invalid`.
nnethercote Jan 8, 2019
4166a4e
Supporting backtrace for x86_64-fortanix-unknown-sgx.
Jan 3, 2019
564a24c
Change std::error::Error trait documentation to talk about `source` i…
czipperz Dec 29, 2018
d1b65fb
Add issue reference to E0202 message
varkor Jan 8, 2019
ac4a454
Consolidate equality constraints error message
varkor Jan 8, 2019
47db51e
Issue 56905
blitzerr Dec 17, 2018
410b529
Creating the vector using with_capacity to avoid re-allocation later …
blitzerr Dec 19, 2018
7853b78
Some more refactoring.
blitzerr Dec 22, 2018
15d8e8f
[Cleanup] This is the first in the series of removals of with_freevar…
blitzerr Dec 22, 2018
5052197
explain safety for vec.set_len(0)
Centril Jan 9, 2019
69e4918
addressing Niko's comments
blitzerr Jan 9, 2019
986e49d
Merge pull request #1 from Centril/redo-vec-set_len-docs-adjust
scottmcm Jan 9, 2019
a89cece
docs: Fix some 'second-edition' links
phansch Jan 9, 2019
4b4fc63
Stabilize `let` bindings and destructuring in constants and const fn
oli-obk Dec 28, 2018
a49acea
Clarify const_let comment
oli-obk Dec 30, 2018
aef6288
const fn feature gate is not needed anymore in a lot of tests
oli-obk Dec 30, 2018
80262e6
Fix irrefutable slice patterns in const fn
oli-obk Jan 9, 2019
0e56e13
Remove outdated comment
king6cong Jan 9, 2019
2e4766c
Exposing enclave image-base to the enclave application
Jan 9, 2019
4da3a1c
update miri
RalfJung Jan 9, 2019
f82ecff
Updated RELEASES.md for 1.32.0
Jan 9, 2019
4a454d6
actually take a slice in this example
steveklabnik Jan 8, 2019
60677a8
Update RELEASES.md
Aaronepower Jan 10, 2019
521031f
Apply suggestions from code review
Aaronepower Jan 10, 2019
dd326f8
Integrate miri into build-manifest
alexcrichton Jan 10, 2019
29a8386
use structured suggestion when casting a reference
euclio Jan 10, 2019
f282f6b
make note of one more normalization that Paths do
steveklabnik Jan 10, 2019
c2d381d
Auto merge of #57484 - alexcrichton:fix-nightlies, r=Mark-Simulacru
bors Jan 10, 2019
359e6bf
Update RELEASES.md
Aaronepower Jan 10, 2019
beb6495
note that FromStr does not work for borrowed types
steveklabnik Jan 10, 2019
e598ea8
Update src/libstd/path.rs
Centril Jan 10, 2019
890a8a4
Update RELEASES.md
Aaronepower Jan 10, 2019
729d3f0
Auto merge of #57471 - Aaronepower:master, r=Aaronepower
bors Jan 11, 2019
27989ec
Remove submodule step from README
nrc Jan 11, 2019
4103e5b
Add a profiles section to the manifest
nrc Jan 11, 2019
928efca
Fix undefined behavior
Jan 11, 2019
16a4e47
Remove unneeded but benign change
oli-obk Jan 11, 2019
88f19a7
Auto merge of #57355 - arielb1:correct-subst, r=nikomatsakis
bors Jan 11, 2019
b439861
Auto merge of #57470 - RalfJung:miri, r=oli-obk
bors Jan 11, 2019
434fe4e
Correct RELEASES.md for 1.32.0
pthariensflame Jan 11, 2019
020e1f5
don't unwrap unexpected tokens in `format!`
euclio Jan 11, 2019
fdd2f0d
Fix new hyperlinks in RELEASES.md
pthariensflame Jan 11, 2019
49e8318
Fixing a typographical error.
insideoutclub Jan 11, 2019
561483e
stabilize top level or-pats in if/while let.
Centril Jan 11, 2019
0c91f3d
Auto merge of #57234 - Centril:const-stabilizations-2, r=oli-obk
bors Jan 12, 2019
afcb938
Stabilise irrefutable if-let and while-let patterns
varkor Jan 12, 2019
0e1402d
bless ui/while-let
Centril Jan 12, 2019
1190f7c
Auto merge of #57532 - Centril:stabilize-2175, r=varkor
bors Jan 12, 2019
3dc08ed
move const_let accepted gate to avoid future conflict.
Centril Jan 12, 2019
6c62322
const_let: --bless with --compare-mode=nll
Centril Jan 12, 2019
e69a5cb
Rollup merge of #56425 - scottmcm:redo-vec-set_len-docs, r=Centril
Centril Jan 12, 2019
53aa8a1
Rollup merge of #56906 - blitzerr:master, r=nikomatsakis
Centril Jan 12, 2019
017f046
Rollup merge of #57042 - pnkfelix:issue-57038-sidestep-ice-in-fieldpl…
Centril Jan 12, 2019
bd8f464
Rollup merge of #57175 - oli-obk:const_let_stabilization, r=nikomatsakis
Centril Jan 12, 2019
40a819b
Rollup merge of #57192 - czipperz:error_trait_doc_cause_to_source, r=…
Centril Jan 12, 2019
ebbecac
Rollup merge of #57296 - JosephTLyons:Fix-question-mark-operator-in-s…
Centril Jan 12, 2019
c6146b2
Rollup merge of #57368 - petrhosek:cmake-compiler-launcher, r=alexcri…
Centril Jan 12, 2019
7be2ff3
Rollup merge of #57400 - tspiteri:source-serif-pro-it, r=GuillaumeGomez
Centril Jan 12, 2019
a61ebac
Rollup merge of #57417 - QuietMisdreavus:semi-revert-doctest-parsing,…
Centril Jan 12, 2019
a9c9a2c
Rollup merge of #57433 - ecstatic-morse:issue-56610-bad-link, r=dtolnay
Centril Jan 12, 2019
632d890
Rollup merge of #57434 - nnethercote:rm-CrateNum-Invalid, r=petrochenkov
Centril Jan 12, 2019
85a7fc8
Rollup merge of #57441 - VardhanThigle:Vardhan/x86_64-fortanix-unknow…
Centril Jan 12, 2019
0b1427e
Rollup merge of #57450 - steveklabnik:gh45678, r=KodrAus
Centril Jan 12, 2019
f7da074
Rollup merge of #57459 - varkor:E0202-issue-reference, r=petrochenkov
Centril Jan 12, 2019
e7dc880
Rollup merge of #57463 - phansch:fix_some_links, r=steveklabnik
Centril Jan 12, 2019
1fff64a
Rollup merge of #57466 - king6cong:comment, r=alexcrichton
Centril Jan 12, 2019
e0cea0d
Rollup merge of #57493 - euclio:deref-suggest, r=oli-obk
Centril Jan 12, 2019
cbe377b
Rollup merge of #57498 - steveklabnik:gh29008, r=alexcrichton
Centril Jan 12, 2019
dc6d86b
Rollup merge of #57499 - steveklabnik:gh47757, r=Mark-Simulacrum
Centril Jan 12, 2019
52e02fc
Rollup merge of #57505 - rust-lang:nrc-patch-1, r=alexcrichton
Centril Jan 12, 2019
1f66062
Rollup merge of #57510 - nrc:manifest-profiles, r=alexcrichton
Centril Jan 12, 2019
bcbf73f
Rollup merge of #57511 - jethrogb:jb/fix-undef, r=cramertj
Centril Jan 12, 2019
7da604e
Rollup merge of #57519 - pthariensflame:patch-2, r=alexcrichton
Centril Jan 12, 2019
e234d15
Rollup merge of #57522 - euclio:format-ice, r=varkor
Centril Jan 12, 2019
0a8b5b4
Rollup merge of #57530 - insideoutclub:master, r=estebank
Centril Jan 12, 2019
3117784
Rollup merge of #57535 - varkor:stabilise-if-while-let-patterns, r=Ce…
Centril Jan 12, 2019
d6525ef
Auto merge of #57542 - Centril:rollup, r=Centril
bors Jan 12, 2019
099b3d8
resolve: Assign `pub` and `pub(crate)` visibilities to `macro_rules` …
petrochenkov Dec 9, 2018
e1d1487
resolve: Prohibit use of uniform paths in macros originating from 201…
petrochenkov Dec 9, 2018
bf1e70c
resolve: Prohibit use of imported non-macro attributes
petrochenkov Dec 12, 2018
2f3db49
resolve: Prohibit use of imported tool modules
petrochenkov Dec 12, 2018
79134c0
Stabilize `uniform_paths`
petrochenkov Dec 27, 2018
250935d
Fix a hole in generic parameter import future-proofing
petrochenkov Dec 30, 2018
75a369c
Auto merge of #56759 - petrochenkov:prestabuni, r=nikomatsakis
bors Jan 12, 2019
e9faf40
Replacing the slice of upvar type parameters with tuple for closure s…
blitzerr Jan 13, 2019
7fa36f4
Replacing the slice of upvar type parameters with tuple for Generator…
blitzerr Jan 13, 2019
8b32d92
Make the ppaux code to print error and move on if the upvar types are…
blitzerr Jan 13, 2019
61a1d2c
Addressing Niko's comments.
blitzerr Jan 16, 2019
59a6a0c
Making the code in the ppaux.rs deal with un-bound upvar type parameters
blitzerr Jan 17, 2019
8568565
Making the upvar_tys return a slice of Ty<'tcx>
blitzerr Jan 19, 2019
136a711
Last bit of code where the upvar_tys was returning iterator.
blitzerr Jan 23, 2019
24e425e
modify comment
nikomatsakis Jan 25, 2019
4a02c5b
change closure generics to produce a tuple of upvars
nikomatsakis Jan 25, 2019
64d0145
fix indexing miscount
nikomatsakis Jan 25, 2019
662e0a8
fixing test error for ui/not-clone-closure.rs and friends
blitzerr1 Mar 11, 2019
7567a31
Removing the extra line in ui tests that got added because of the upv…
blitzerr1 Mar 12, 2019
4a21a52
include the witness in the constituent types for a generator
nikomatsakis Apr 30, 2019
7763f97
add a fixme
blitzerr Jan 30, 2019
ad4515e
fixing the ui tests, take 1
blitzerr May 12, 2019
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ Read ["Installation"] from [The Book].
3. Build and install:

```sh
$ git submodule update --init --recursive --progress
$ ./x.py build && sudo ./x.py install
```

Expand Down
298 changes: 298 additions & 0 deletions RELEASES.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,301 @@
Version 1.32.0 (2019-01-17)
==========================

Language
--------
#### 2018 edition
- [You can now use the `?` operator in macro definitions.][56245] The `?`
operator allows you to specify zero or one repetitions similar to the `*` and
`+` operators.
- [Module paths with no leading keyword like `super`, `self`, or `crate`, will
now always resolve to the item (`enum`, `struct`, etc.) available in the
module if present, before resolving to a external crate or an item the prelude.][56759]
E.g.
```rust
enum Color { Red, Green, Blue }

use Color::*;
```

#### All editions
- [You can now match against `PhantomData<T>` types.][55837]
- [You can now match against literals in macros with the `literal`
specifier.][56072] This will match against a literal of any type.
E.g. `1`, `'A'`, `"Hello World"`
- [Self can now be used as a constructor and pattern for unit and tuple structs.][56365] E.g.
```rust
struct Point(i32, i32);

impl Point {
pub fn new(x: i32, y: i32) -> Self {
Self(x, y)
}

pub fn is_origin(&self) -> bool {
match self {
Self(0, 0) => true,
_ => false,
}
}
}
```
- [Self can also now be used in type definitions.][56366] E.g.
```rust
enum List<T>
where
Self: PartialOrd<Self> // can write `Self` instead of `List<T>`
{
Nil,
Cons(T, Box<Self>) // likewise here
}
```
- [You can now mark traits with `#[must_use]`.][55663] This provides a warning if
a `impl Trait` or `dyn Trait` is returned and unused in the program.

Compiler
--------
- [The default allocator has changed from jemalloc to the default allocator on
your system.][55238] The compiler itself on Linux & macOS will still use
jemalloc, but programs compiled with it will use the system allocator.
- [Added the `aarch64-pc-windows-msvc` target.][55702]

Libraries
---------
- [`PathBuf` now implements `FromStr`.][55148]
- [`Box<[T]>` now implements `FromIterator<T>`.][55843]
- [The `dbg!` macro has been stabilized.][56395] This macro enables you to
easily debug expressions in your rust program. E.g.
```rust
let a = 2;
let b = dbg!(a * 2) + 1;
// ^-- prints: [src/main.rs:4] a * 2 = 4
assert_eq!(b, 5);
```

The following APIs are now `const` functions and can be used in a
`const` context.

- [`Cell::as_ptr`]
- [`UnsafeCell::get`]
- [`char::is_ascii`]
- [`iter::empty`]
- [`ManuallyDrop::new`]
- [`ManuallyDrop::into_inner`]
- [`RangeInclusive::start`]
- [`RangeInclusive::end`]
- [`NonNull::as_ptr`]
- [`slice::as_ptr`]
- [`str::as_ptr`]
- [`Duration::as_secs`]
- [`Duration::subsec_millis`]
- [`Duration::subsec_micros`]
- [`Duration::subsec_nanos`]
- [`CStr::as_ptr`]
- [`Ipv4Addr::is_unspecified`]
- [`Ipv6Addr::new`]
- [`Ipv6Addr::octets`]

Stabilized APIs
---------------
- [`i8::to_be_bytes`]
- [`i8::to_le_bytes`]
- [`i8::to_ne_bytes`]
- [`i8::from_be_bytes`]
- [`i8::from_le_bytes`]
- [`i8::from_ne_bytes`]
- [`i16::to_be_bytes`]
- [`i16::to_le_bytes`]
- [`i16::to_ne_bytes`]
- [`i16::from_be_bytes`]
- [`i16::from_le_bytes`]
- [`i16::from_ne_bytes`]
- [`i32::to_be_bytes`]
- [`i32::to_le_bytes`]
- [`i32::to_ne_bytes`]
- [`i32::from_be_bytes`]
- [`i32::from_le_bytes`]
- [`i32::from_ne_bytes`]
- [`i64::to_be_bytes`]
- [`i64::to_le_bytes`]
- [`i64::to_ne_bytes`]
- [`i64::from_be_bytes`]
- [`i64::from_le_bytes`]
- [`i64::from_ne_bytes`]
- [`i128::to_be_bytes`]
- [`i128::to_le_bytes`]
- [`i128::to_ne_bytes`]
- [`i128::from_be_bytes`]
- [`i128::from_le_bytes`]
- [`i128::from_ne_bytes`]
- [`isize::to_be_bytes`]
- [`isize::to_le_bytes`]
- [`isize::to_ne_bytes`]
- [`isize::from_be_bytes`]
- [`isize::from_le_bytes`]
- [`isize::from_ne_bytes`]
- [`u8::to_be_bytes`]
- [`u8::to_le_bytes`]
- [`u8::to_ne_bytes`]
- [`u8::from_be_bytes`]
- [`u8::from_le_bytes`]
- [`u8::from_ne_bytes`]
- [`u16::to_be_bytes`]
- [`u16::to_le_bytes`]
- [`u16::to_ne_bytes`]
- [`u16::from_be_bytes`]
- [`u16::from_le_bytes`]
- [`u16::from_ne_bytes`]
- [`u32::to_be_bytes`]
- [`u32::to_le_bytes`]
- [`u32::to_ne_bytes`]
- [`u32::from_be_bytes`]
- [`u32::from_le_bytes`]
- [`u32::from_ne_bytes`]
- [`u64::to_be_bytes`]
- [`u64::to_le_bytes`]
- [`u64::to_ne_bytes`]
- [`u64::from_be_bytes`]
- [`u64::from_le_bytes`]
- [`u64::from_ne_bytes`]
- [`u128::to_be_bytes`]
- [`u128::to_le_bytes`]
- [`u128::to_ne_bytes`]
- [`u128::from_be_bytes`]
- [`u128::from_le_bytes`]
- [`u128::from_ne_bytes`]
- [`usize::to_be_bytes`]
- [`usize::to_le_bytes`]
- [`usize::to_ne_bytes`]
- [`usize::from_be_bytes`]
- [`usize::from_le_bytes`]
- [`usize::from_ne_bytes`]

Cargo
-----
- [You can now run `cargo c` as an alias for `cargo check`.][cargo/6218]
- [Usernames are now allowed in alt registry URLs.][cargo/6242]

Misc
----
- [`libproc_macro` has been added to the `rust-src` distribution.][55280]

Compatibility Notes
-------------------
- [The argument types for AVX's
`_mm256_stream_si256`, `_mm256_stream_pd`, `_mm256_stream_ps`][55610] have
been changed from `*const` to `*mut` as the previous implementation
was unsound.


[55148]: https://github.com/rust-lang/rust/pull/55148/
[55238]: https://github.com/rust-lang/rust/pull/55238/
[55280]: https://github.com/rust-lang/rust/pull/55280/
[55610]: https://github.com/rust-lang/rust/pull/55610/
[55663]: https://github.com/rust-lang/rust/pull/55663/
[55702]: https://github.com/rust-lang/rust/pull/55702/
[55837]: https://github.com/rust-lang/rust/pull/55837/
[55843]: https://github.com/rust-lang/rust/pull/55843/
[56072]: https://github.com/rust-lang/rust/pull/56072/
[56245]: https://github.com/rust-lang/rust/pull/56245/
[56365]: https://github.com/rust-lang/rust/pull/56365/
[56366]: https://github.com/rust-lang/rust/pull/56366/
[56395]: https://github.com/rust-lang/rust/pull/56395/
[56759]: https://github.com/rust-lang/rust/pull/56759/
[cargo/6218]: https://github.com/rust-lang/cargo/pull/6218/
[cargo/6242]: https://github.com/rust-lang/cargo/pull/6242/
[`CStr::as_ptr`]: https://doc.rust-lang.org/std/ffi/struct.CStr.html#method.as_ptr
[`Cell::as_ptr`]: https://doc.rust-lang.org/std/cell/struct.Cell.html#method.as_ptr
[`Duration::as_secs`]: https://doc.rust-lang.org/std/time/struct.Duration.html#method.as_secs
[`Duration::subsec_micros`]: https://doc.rust-lang.org/std/time/struct.Duration.html#method.subsec_micros
[`Duration::subsec_millis`]: https://doc.rust-lang.org/std/time/struct.Duration.html#method.subsec_millis
[`Duration::subsec_nanos`]: https://doc.rust-lang.org/std/time/struct.Duration.html#method.subsec_nanos
[`Ipv4Addr::is_unspecified`]: https://doc.rust-lang.org/std/net/struct.Ipv4Addr.html#method.is_unspecified
[`Ipv6Addr::new`]: https://doc.rust-lang.org/std/net/struct.Ipv6Addr.html#method.new
[`Ipv6Addr::octets`]: https://doc.rust-lang.org/std/net/struct.Ipv6Addr.html#method.octets
[`ManuallyDrop::into_inner`]: https://doc.rust-lang.org/std/mem/struct.ManuallyDrop.html#method.into_inner
[`ManuallyDrop::new`]: https://doc.rust-lang.org/std/mem/struct.ManuallyDrop.html#method.new
[`NonNull::as_ptr`]: https://doc.rust-lang.org/std/ptr/struct.NonNull.html#method.as_ptr
[`RangeInclusive::end`]: https://doc.rust-lang.org/std/ops/struct.RangeInclusive.html#method.end
[`RangeInclusive::start`]: https://doc.rust-lang.org/std/ops/struct.RangeInclusive.html#method.start
[`UnsafeCell::get`]: https://doc.rust-lang.org/std/cell/struct.UnsafeCell.html#method.get
[`slice::as_ptr`]: https://doc.rust-lang.org/std/primitive.slice.html#method.as_ptr
[`char::is_ascii`]: https://doc.rust-lang.org/std/primitive.char.html#method.is_ascii
[`i128::from_be_bytes`]: https://doc.rust-lang.org/stable/std/primitive.i128.html#method.from_be_bytes
[`i128::from_le_bytes`]: https://doc.rust-lang.org/stable/std/primitive.i128.html#method.from_le_bytes
[`i128::from_ne_bytes`]: https://doc.rust-lang.org/stable/std/primitive.i128.html#method.from_ne_bytes
[`i128::to_be_bytes`]: https://doc.rust-lang.org/stable/std/primitive.i128.html#method.to_be_bytes
[`i128::to_le_bytes`]: https://doc.rust-lang.org/stable/std/primitive.i128.html#method.to_le_bytes
[`i128::to_ne_bytes`]: https://doc.rust-lang.org/stable/std/primitive.i128.html#method.to_ne_bytes
[`i16::from_be_bytes`]: https://doc.rust-lang.org/stable/std/primitive.i16.html#method.from_be_bytes
[`i16::from_le_bytes`]: https://doc.rust-lang.org/stable/std/primitive.i16.html#method.from_le_bytes
[`i16::from_ne_bytes`]: https://doc.rust-lang.org/stable/std/primitive.i16.html#method.from_ne_bytes
[`i16::to_be_bytes`]: https://doc.rust-lang.org/stable/std/primitive.i16.html#method.to_be_bytes
[`i16::to_le_bytes`]: https://doc.rust-lang.org/stable/std/primitive.i16.html#method.to_le_bytes
[`i16::to_ne_bytes`]: https://doc.rust-lang.org/stable/std/primitive.i16.html#method.to_ne_bytes
[`i32::from_be_bytes`]: https://doc.rust-lang.org/stable/std/primitive.i32.html#method.from_be_bytes
[`i32::from_le_bytes`]: https://doc.rust-lang.org/stable/std/primitive.i32.html#method.from_le_bytes
[`i32::from_ne_bytes`]: https://doc.rust-lang.org/stable/std/primitive.i32.html#method.from_ne_bytes
[`i32::to_be_bytes`]: https://doc.rust-lang.org/stable/std/primitive.i32.html#method.to_be_bytes
[`i32::to_le_bytes`]: https://doc.rust-lang.org/stable/std/primitive.i32.html#method.to_le_bytes
[`i32::to_ne_bytes`]: https://doc.rust-lang.org/stable/std/primitive.i32.html#method.to_ne_bytes
[`i64::from_be_bytes`]: https://doc.rust-lang.org/stable/std/primitive.i64.html#method.from_be_bytes
[`i64::from_le_bytes`]: https://doc.rust-lang.org/stable/std/primitive.i64.html#method.from_le_bytes
[`i64::from_ne_bytes`]: https://doc.rust-lang.org/stable/std/primitive.i64.html#method.from_ne_bytes
[`i64::to_be_bytes`]: https://doc.rust-lang.org/stable/std/primitive.i64.html#method.to_be_bytes
[`i64::to_le_bytes`]: https://doc.rust-lang.org/stable/std/primitive.i64.html#method.to_le_bytes
[`i64::to_ne_bytes`]: https://doc.rust-lang.org/stable/std/primitive.i64.html#method.to_ne_bytes
[`i8::from_be_bytes`]: https://doc.rust-lang.org/stable/std/primitive.i8.html#method.from_be_bytes
[`i8::from_le_bytes`]: https://doc.rust-lang.org/stable/std/primitive.i8.html#method.from_le_bytes
[`i8::from_ne_bytes`]: https://doc.rust-lang.org/stable/std/primitive.i8.html#method.from_ne_bytes
[`i8::to_be_bytes`]: https://doc.rust-lang.org/stable/std/primitive.i8.html#method.to_be_bytes
[`i8::to_le_bytes`]: https://doc.rust-lang.org/stable/std/primitive.i8.html#method.to_le_bytes
[`i8::to_ne_bytes`]: https://doc.rust-lang.org/stable/std/primitive.i8.html#method.to_ne_bytes
[`isize::from_be_bytes`]: https://doc.rust-lang.org/stable/std/primitive.isize.html#method.from_be_bytes
[`isize::from_le_bytes`]: https://doc.rust-lang.org/stable/std/primitive.isize.html#method.from_le_bytes
[`isize::from_ne_bytes`]: https://doc.rust-lang.org/stable/std/primitive.isize.html#method.from_ne_bytes
[`isize::to_be_bytes`]: https://doc.rust-lang.org/stable/std/primitive.isize.html#method.to_be_bytes
[`isize::to_le_bytes`]: https://doc.rust-lang.org/stable/std/primitive.isize.html#method.to_le_bytes
[`isize::to_ne_bytes`]: https://doc.rust-lang.org/stable/std/primitive.isize.html#method.to_ne_bytes
[`iter::empty`]: https://doc.rust-lang.org/std/iter/fn.empty.html
[`str::as_ptr`]: https://doc.rust-lang.org/std/primitive.str.html#method.as_ptr
[`u128::from_be_bytes`]: https://doc.rust-lang.org/stable/std/primitive.u128.html#method.from_be_bytes
[`u128::from_le_bytes`]: https://doc.rust-lang.org/stable/std/primitive.u128.html#method.from_le_bytes
[`u128::from_ne_bytes`]: https://doc.rust-lang.org/stable/std/primitive.u128.html#method.from_ne_bytes
[`u128::to_be_bytes`]: https://doc.rust-lang.org/stable/std/primitive.u128.html#method.to_be_bytes
[`u128::to_le_bytes`]: https://doc.rust-lang.org/stable/std/primitive.u128.html#method.to_le_bytes
[`u128::to_ne_bytes`]: https://doc.rust-lang.org/stable/std/primitive.u128.html#method.to_ne_bytes
[`u16::from_be_bytes`]: https://doc.rust-lang.org/stable/std/primitive.u16.html#method.from_be_bytes
[`u16::from_le_bytes`]: https://doc.rust-lang.org/stable/std/primitive.u16.html#method.from_le_bytes
[`u16::from_ne_bytes`]: https://doc.rust-lang.org/stable/std/primitive.u16.html#method.from_ne_bytes
[`u16::to_be_bytes`]: https://doc.rust-lang.org/stable/std/primitive.u16.html#method.to_be_bytes
[`u16::to_le_bytes`]: https://doc.rust-lang.org/stable/std/primitive.u16.html#method.to_le_bytes
[`u16::to_ne_bytes`]: https://doc.rust-lang.org/stable/std/primitive.u16.html#method.to_ne_bytes
[`u32::from_be_bytes`]: https://doc.rust-lang.org/stable/std/primitive.u32.html#method.from_be_bytes
[`u32::from_le_bytes`]: https://doc.rust-lang.org/stable/std/primitive.u32.html#method.from_le_bytes
[`u32::from_ne_bytes`]: https://doc.rust-lang.org/stable/std/primitive.u32.html#method.from_ne_bytes
[`u32::to_be_bytes`]: https://doc.rust-lang.org/stable/std/primitive.u32.html#method.to_be_bytes
[`u32::to_le_bytes`]: https://doc.rust-lang.org/stable/std/primitive.u32.html#method.to_le_bytes
[`u32::to_ne_bytes`]: https://doc.rust-lang.org/stable/std/primitive.u32.html#method.to_ne_bytes
[`u64::from_be_bytes`]: https://doc.rust-lang.org/stable/std/primitive.u64.html#method.from_be_bytes
[`u64::from_le_bytes`]: https://doc.rust-lang.org/stable/std/primitive.u64.html#method.from_le_bytes
[`u64::from_ne_bytes`]: https://doc.rust-lang.org/stable/std/primitive.u64.html#method.from_ne_bytes
[`u64::to_be_bytes`]: https://doc.rust-lang.org/stable/std/primitive.u64.html#method.to_be_bytes
[`u64::to_le_bytes`]: https://doc.rust-lang.org/stable/std/primitive.u64.html#method.to_le_bytes
[`u64::to_ne_bytes`]: https://doc.rust-lang.org/stable/std/primitive.u64.html#method.to_ne_bytes
[`u8::from_be_bytes`]: https://doc.rust-lang.org/stable/std/primitive.u8.html#method.from_be_bytes
[`u8::from_le_bytes`]: https://doc.rust-lang.org/stable/std/primitive.u8.html#method.from_le_bytes
[`u8::from_ne_bytes`]: https://doc.rust-lang.org/stable/std/primitive.u8.html#method.from_ne_bytes
[`u8::to_be_bytes`]: https://doc.rust-lang.org/stable/std/primitive.u8.html#method.to_be_bytes
[`u8::to_le_bytes`]: https://doc.rust-lang.org/stable/std/primitive.u8.html#method.to_le_bytes
[`u8::to_ne_bytes`]: https://doc.rust-lang.org/stable/std/primitive.u8.html#method.to_ne_bytes
[`usize::from_be_bytes`]: https://doc.rust-lang.org/stable/std/primitive.usize.html#method.from_be_bytes
[`usize::from_le_bytes`]: https://doc.rust-lang.org/stable/std/primitive.usize.html#method.from_le_bytes
[`usize::from_ne_bytes`]: https://doc.rust-lang.org/stable/std/primitive.usize.html#method.from_ne_bytes
[`usize::to_be_bytes`]: https://doc.rust-lang.org/stable/std/primitive.usize.html#method.to_be_bytes
[`usize::to_le_bytes`]: https://doc.rust-lang.org/stable/std/primitive.usize.html#method.to_le_bytes
[`usize::to_ne_bytes`]: https://doc.rust-lang.org/stable/std/primitive.usize.html#method.to_ne_bytes


Version 1.31.1 (2018-12-20)
===========================

Expand Down
2 changes: 1 addition & 1 deletion config.toml.example
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,7 @@
#codegen-units-std = 1

# Whether or not debug assertions are enabled for the compiler and standard
# library. Also enables compilation of debug! and trace! logging macros.
# library.
#debug-assertions = false

# Whether or not debuginfo is emitted
Expand Down
2 changes: 1 addition & 1 deletion src/bootstrap/dist.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1984,14 +1984,14 @@ impl Step for HashSign {
cmd.arg(distdir(builder));
cmd.arg(today.trim());
cmd.arg(builder.rust_package_vers());
cmd.arg(addr);
cmd.arg(builder.package_vers(&builder.release_num("cargo")));
cmd.arg(builder.package_vers(&builder.release_num("rls")));
cmd.arg(builder.package_vers(&builder.release_num("clippy")));
cmd.arg(builder.package_vers(&builder.release_num("miri")));
cmd.arg(builder.package_vers(&builder.release_num("rustfmt")));
cmd.arg(builder.llvm_tools_package_vers());
cmd.arg(builder.lldb_package_vers());
cmd.arg(addr);

builder.create_dir(&distdir(builder));

Expand Down
14 changes: 6 additions & 8 deletions src/bootstrap/native.rs
Original file line number Diff line number Diff line change
Expand Up @@ -346,15 +346,13 @@ fn configure_cmake(builder: &Builder,
if builder.config.llvm_clang_cl.is_some() && target.contains("i686") {
cfg.env("SCCACHE_EXTRA_ARGS", "-m32");
}

// If ccache is configured we inform the build a little differently how
// to invoke ccache while also invoking our compilers.
} else if let Some(ref ccache) = builder.config.ccache {
cfg.define("CMAKE_C_COMPILER", ccache)
.define("CMAKE_C_COMPILER_ARG1", sanitize_cc(cc))
.define("CMAKE_CXX_COMPILER", ccache)
.define("CMAKE_CXX_COMPILER_ARG1", sanitize_cc(cxx));
} else {
// If ccache is configured we inform the build a little differently how
// to invoke ccache while also invoking our compilers.
if let Some(ref ccache) = builder.config.ccache {
cfg.define("CMAKE_C_COMPILER_LAUNCHER", ccache)
.define("CMAKE_CXX_COMPILER_LAUNCHER", ccache);
}
cfg.define("CMAKE_C_COMPILER", sanitize_cc(cc))
.define("CMAKE_CXX_COMPILER", sanitize_cc(cxx));
}
Expand Down

This file was deleted.

Loading