Commit graph

110467 commits

Author SHA1 Message Date
bors
c7087fe00d Auto merge of #73424 - Mark-Simulacrum:stable-next, r=Mark-Simulacrum
[stable] stable 1.44.1

Another backport for 1.44.1, fixing rust-lang/rust-clippy#5356.

r? @ghost
2020-06-17 20:15:06 +00:00
Mark Rousskov
03c622ff68 Bump clippy to fix rust-lang/rust-clippy#5356 2020-06-17 16:11:29 -04:00
bors
d107792af2 Auto merge of #73238 - Mark-Simulacrum:stable-next, r=Mark-Simulacrum
[stable] 1.44.1 release

See release notes for details (or commits).
2020-06-13 04:38:36 +00:00
Eric Huss
9592e6738a Fix emcc failure for wasm32. 2020-06-12 22:19:08 -04:00
Mark Rousskov
7b2237eb16 Update cargo 2020-06-12 11:33:36 -04:00
Mark Rousskov
682361a597 1.44.1 release 2020-06-12 11:33:36 -04:00
Tyler Mandry
130e1140b5 Update backtrace-sys
Diff:

- Don't look for old RUSTC_DEBUGINFO vars (rust-lang/backtrace-rs#313)
2020-06-12 10:04:35 -04:00
Tomasz Miąsko
20918cf4cc Update backtrace-sys crate to 0.1.36
* Fix an off-by-one error in backtrace-sys
* Only explicitly configure debuginfo in rustc-dep-of-std
2020-06-12 10:04:35 -04:00
Mark Rousskov
688c9bd033 Bump rustfmt to 1.4.16
This corrects a breaking change where `#[cfg_attr(rustfmt, rustfmt_skip)]`
stopped working in 1.44.0.
2020-06-12 10:04:35 -04:00
bors
49cae55760 Auto merge of #72883 - Mark-Simulacrum:stable-next, r=Mark-Simulacrum
[stable] 1.44 release

This includes a release notes update as usual and a backport of #72767.

r? @ghost
2020-06-01 15:42:51 +00:00
Felix S Klock II
68a0acd634 add fixme suggested by eddyb 2020-06-01 08:26:39 -04:00
Felix S. Klock II
5684eaef5f Use the virtual name for libstd files in StableSourceFileId and also in the
encoded build artifacts.

Fix #70924.
2020-06-01 08:26:38 -04:00
Felix S. Klock II
0a91077ff9 Split payload of FileName::Real to track both real and virutalized paths.
Such splits arise from metadata refs into libstd.

This way, we can (in a follow on commit) continue to emit the virtual name into
things like the like the StableSourceFileId that ends up in incremetnal build
artifacts, while still using the devirtualized file path when we want to access
the file.

Note that this commit is intended to be a refactoring; the actual fix to the bug
in question is in a follow-on commit.
2020-06-01 08:26:38 -04:00
Felix S. Klock II
991248438d StableSourceFileId::new_from_pieces does not need to be public.
(and I want to discourage further use of it if possible.)
2020-06-01 08:26:38 -04:00
Mark Rousskov
ccf97d6665 1.44 release 2020-06-01 08:26:08 -04:00
bors
02c25b359e Auto merge of #72468 - Elinvynia:backport, r=Mark-Simulacrum
[beta] Rollup backports

This includes:
* Fail if I/O error occurs during testing #72089
* Fix hang in lexical_region_resolve #72087
* Fix E0284 to not use incorrect wording #71960
* Bump pulldown-cmark #71682
2020-05-23 14:22:25 +00:00
Mark Rousskov
9021f24169 Fail if I/O error occurs during testing
(cherry picked from commit a5ba75283e)
2020-05-22 18:16:45 +02:00
Matthew Jasper
eb0906862e Fix hang in lexical_region_resolve
(cherry picked from commit e7b02046a0)
2020-05-22 18:16:16 +02:00
Esteban Küber
5e041c6bd5 Fix E0284 to not use incorrect wording
Fix #71584, fix #69683.

(cherry picked from commit a7b03ad4ed)
2020-05-22 18:15:56 +02:00
Eric Huss
143e38cbf8 Bump pulldown-cmark
(cherry picked from commit 1776de948c)
2020-05-22 18:13:30 +02:00
bors
0f0d700555 Auto merge of #72054 - Mark-Simulacrum:beta-next, r=Mark-Simulacrum
[beta] backports

This backport rollup includes the following:
 * [beta] Update cargo #71967
 * Backport 1.43.1 release notes to master #71914
 * Update the `cc` crate #71882
 * resolve: Relax fresh binding disambiguation slightly to fix regression #71846
 * Do not try to find binop method on RHS `TyErr` #71810
 * Quick and dirty fix of the unused_braces lint #71517
 * Update stdarch submodule #71495
 * normalize field projection ty to fix broken MIR issue #71488
 * Update openssl-src to 1.1.1g #71430
 * fix error code in E0751.md #71426
 * Don't fuse Chain in its second iterator #71404
 * Remove some `Vec` allocations to improve performance #71268
 * [CI] Use the latest Python available on Windows #71995

It also switches the bootstrap compiler to 1.43.1.
2020-05-11 20:07:02 +00:00
Mark Rousskov
d0703f9970 Bump clippy submodule to fix compilation failure 2020-05-11 13:24:24 -04:00
Pietro Albini
51c901e4f5 ci: use the latest python available on windows
This commit changes our Windows CI to always use the latest Python
interpreter available in the GHA tool cache instead of hardcoding Python
3.7.6. This is needed because occasionally GitHub bumps the installed
version, deleting the previous one.
2020-05-10 22:12:07 -04:00
Esteban Küber
92dcc9a02d Remove some allocations in predicate evaluation 2020-05-10 22:12:07 -04:00
Esteban Küber
9b4c12dc9d Use more Iterators instead of Vecs 2020-05-10 22:12:07 -04:00
Esteban Küber
23e5778e02 Remove unnecessary allocation 2020-05-10 22:12:07 -04:00
Esteban Küber
4c1cabd4a1 Remove some Vec allocations in an effort to improve perf 2020-05-10 22:12:07 -04:00
Josh Stone
c5627c60f4 Don't fuse Chain in its second iterator
Only the "first" iterator is actually set `None` when exhausted,
depending on whether you iterate forward or backward. This restores
behavior similar to the former `ChainState`, where it would transition
from `Both` to `Front`/`Back` and only continue from that side.

However, if you mix directions, then this may still set both sides to
`None`, totally fusing the iterator.
2020-05-09 13:40:48 -04:00
YI
ac64f87dba fix error code for E0751 2020-05-09 13:40:48 -04:00
Pietro Albini
2ddec8cc11 update openssl-src to 1.1.1g
Fixes CVE-2020-1967.
2020-05-09 13:40:48 -04:00
Santiago Pastorino
8f65cf3dd9 normalize field projection ty to fix broken MIR issue 2020-05-09 13:40:48 -04:00
Amanieu d'Antras
e5f529c144 Update stdarch submodule 2020-05-09 13:40:48 -04:00
flip1995
cd1fb13fb7 Add rustdoc regression test for the unused_braces lint 2020-05-09 13:40:48 -04:00
flip1995
13c28adfd5 Quick and dirty fix of the unused_braces lint
Adresses #70814
2020-05-09 13:40:48 -04:00
Esteban Küber
e0674ef155 Do not try to find binop method on RHS TyErr
Fix #71798.
2020-05-09 13:40:48 -04:00
Vadim Petrochenkov
c30ae23452 resolve: Relax fresh binding disambiguation slightly to fix regression 2020-05-09 13:40:47 -04:00
Alex Crichton
85ad1b56fb Update the cc crate
Pulls in updated MSVC detection logic landed in alexcrichton/cc-rs#488
2020-05-09 13:40:47 -04:00
Josh Stone
419f909ce7 backport 1.43.1 release notes 2020-05-09 13:40:47 -04:00
Eric Huss
9d1bf800c1 [beta] Update cargo 2020-05-09 13:40:47 -04:00
Mark Rousskov
e0eb65e48a Use 1.43.1 release 2020-05-09 13:29:29 -04:00
bors
b1162ed506 Auto merge of #71441 - RalfJung:beta-const-validation-fix, r=Mark-Simulacrum
[beta] fix failing const validation

This is the **beta branch fix** for https://github.com/rust-lang/rust/issues/71353, by reverting https://github.com/rust-lang/rust/pull/70566.

r? @oli-obk
Not sure if there is any extra process for the beta part. This is not a backport; we intend to "properly" fix this on master but for beta a revert is faster and less risky.
2020-04-25 04:08:50 +00:00
Ralf Jung
622c84a578 adjust tests 2020-04-22 22:50:31 +02:00
Ralf Jung
ddfd2c2b3f Revert "Move early needs_subst bailout to _after_ linting."
This reverts commit 99492e41b6.
2020-04-22 19:03:30 +02:00
bors
a7d891e31a Auto merge of #71378 - Mark-Simulacrum:beta-next, r=Mark-Simulacrum
[beta] Switch to dev-static bootstrap

Finishes master to beta promotion.
2020-04-21 20:20:51 +00:00
Mark Rousskov
59ced7b2b4 Cherry-pick rustfmt test fixes 2020-04-21 16:18:07 -04:00
Mark Rousskov
15a102b6ae Always permit miri to fail to build
This presumably "accidentally" never actually got triggered in the past, but
since we don't actually require shipping miri on beta or stable, this should be
fine.
2020-04-21 11:25:34 -04:00
Mark Rousskov
8984aafc2f Switch to dev-static bootstrap 2020-04-21 08:21:50 -04:00
bors
45d050cde2 Auto merge of #71170 - spastorino:dyn-fnonce-alignment, r=nikomatsakis
Make Box<dyn FnOnce> respect self alignment

Closes #68304

r? @eddyb @nikomatsakis
2020-04-21 08:58:44 +00:00
bors
25f070d1ed Auto merge of #71267 - pnkfelix:issue-71248-dont-need-exports-all-green, r=nagisa
attempt to recover perf by removing `exports_all_green`

attempt to recover perf by removing `exports_all_green` flag.

cc #71248

(My hypothesis is that my use of this flag was an overly conservative generalization of PR #67020.)
2020-04-21 04:35:17 +00:00
bors
073744f554 Auto merge of #71367 - Dylan-DPC:rollup-ysj4olr, r=Dylan-DPC
Rollup of 4 pull requests

Successful merges:

 - #69362 (Stabilize most common subset of alloc_layout_extras)
 - #71174 (Check that main/start is not async)
 - #71285 (MIR: use HirId instead of NodeId to avoid cycles while inlining)
 - #71346 (Do not build tools if user do not want them)

Failed merges:

r? @ghost
2020-04-21 01:26:56 +00:00