| Age | Commit message (Collapse) | Author | Lines |
|
Rust 1.47.0 stable release, take 2
This PR adds a workaround for https://github.com/rust-lang/rust/issues/76980 to the existing stable 1.47.0 branch. I will invalidate the dev artifacts and issue another pre-release once the PR is merged, to let people test this change.
r? `@ghost`
|
|
|
|
Temporarily addresses #76980.
|
|
[stable] 1.47 release
This PR includes backports of:
* Fix miscompile in SimplifyBranchSame #77549
* Force posix-style quoting on lld, independent of host platform #77543
Note that both are still beta-nominated/beta-accepted, as they need to be backported to 1.48 as well (future beta branch).
|
|
|
|
|
|
An upstream LLVM change changed behavior here to respect the host system quoting
rules; previously the posix-style format was always used for @files.
|
|
|
|
|
|
This also adjusts the release notes to move rustc-docs to internal changes.
Note that issue 76980 isn't included as it is unclear what the exact cause there
is, so explaining it is difficult.
|
|
[beta] backports
This backports a number of PRs to beta, not all of which have been approved (yet).
* Switch to environment files to change the environment on GHA #77418
* cache types during normalization #76928
* Fixing memory exhaustion when formatting short code suggestion #76598
* Issue 72408 nested closures exponential #72412
r? `@Mark-Simulacrum`
|
|
case
|
|
|
|
|
|
See GitHub's blog post on why the change was necessary:
https://github.blog/changelog/2020-10-01-github-actions-deprecating-set-env-and-add-path-commands/
|
|
|
|
|
|
This makes everything about 1% faster in rustc-perf,
mostly negating performance hit of previous commit.
|
|
Mostly to fix ui/issues/issue-37311-type-length-limit/issue-37311.rs.
Most parts of the compiler can handle deeply nested types with a lot
of duplicates just fine, but some parts still attempt to naively
traverse type tree.
Before such problems were caught by type length limit check,
but now these places will have to be changed to handle
duplicated types gracefully.
|
|
This fixes #72408.
Nested closures were resulting in exponential compilation time.
As a performance optimization this change introduces MiniSet,
which is a simple small storage optimized set.
|
|
[beta] Revert "Promote missing_fragment_specifier to hard error #75516"
This reverts "Promote missing_fragment_specifier to hard error #75516" on just beta. I would like us to explore a more principled fix, perhaps along the lines `@petrochenkov` suggested in #76605, on master when we have more time to test it but I don't want us shipping the breakage in the meantime. I don't personally feel comfortable immediately backporting anything more than a revert here.
cc `@matklad`
|
|
This reverts commit eb4d6b520b3e75c7e93f1ea13f1a45eda0687b4e.
|
|
This reverts commit 5ba961018c482e050af908de60e4f8bd1a00f0ae.
|
|
This reverts commit 02eae432e7476a0686633a8c2b7cb1d5aab1bd2c.
|
|
This reverts commit 84fcd0dc991e2f5b9035d118d8c016f35ab37d0a.
|
|
[beta][clippy] backport multiple FP fixes for a warn-by-default lint
This backports the PR https://github.com/rust-lang/rust-clippy/pull/6016 fixing multiple FPs:
https://github.com/rust-lang/rust-clippy/issues/5902
https://github.com/rust-lang/rust-clippy/issues/5979
https://github.com/rust-lang/rust-clippy/issues/5985
We didn't have any complaints about this lint, since me merged this PR.
cc `@ebroto` (sorry I forgot about this, since we talked about the backport 3 weeks ago 😐)
r? `@pietroalbini`
|
|
|
|
|
|
[beta] backports
This backports the following:
* revert const_type_id stabilization #77083
* [mir-opt] Disable the `ConsideredEqual` logic in SimplifyBranchSame opt #76837
* Rename Iterator::get_unchecked #77201 (manually, because of file renaming and other issues on master causing literal cherry-pick to fail)
* Rebase LLVM onto 11.0.0-rc3 #77063 (bumping direct to master, see https://github.com/rust-lang/rust/pull/77063#issuecomment-700231036).
The last two have not yet been approved by compiler team, but I'm posting this now and going to go ahead and approve as I expect both to get approved and we want testing as much as possible before release in ~2 weeks.
r? `@ghost`
|
|
Backport of #77201, manually done because of file renaming.
|
|
|
|
This reverts commit e3856616ee2a894c7811a7017d98fafa7ba84dd8.
|
|
The logic is currently broken and we need to disable it to fix a beta
regression (see #76803)
|
|
|
|
[beta] backports
* Ignore rustc_private items from std docs #76571
* Fix HashMap visualizers in Visual Studio (Code) #76389
* Account for version number in NtIdent hack #76331
* Account for async functions when suggesting new named lifetime #75867
* Fix loading pretty-printers in rust-lldb script #76015
This also bumps to the released stable compiler.
|
|
|
|
Fix #75850.
|
|
Issue #74616 tracks a backwards-compatibility hack for certain macros.
This has is implemented by hard-coding the filenames and macro names of
certain code that we want to continue to compile.
However, the initial implementation of the hack was based on the
directory structure when building the crate from its repository (e.g.
`js-sys/src/lib.rs`). When the crate is build as a dependency, it will
include a version number from the clone from the cargo registry (e.g.
`js-sys-0.3.17/src/lib.rs`), which would fail the check.
This commit modifies the backwards-compatibility hack to check that
desired crate name (`js-sys` or `time-macros-impl`) is a prefix of the
proper part of the path.
See https://github.com/rust-lang/rust/issues/76070#issuecomment-687215646
for more details.
|
|
|
|
CDB doesn't care that you're using static_cast between unrelated types.
VS(C) does. These should've been reinterpret_cast or C casts.
Cast is from e.g. `u8*` to `tuple<$T1, $T2>*`
|
|
Apply suggestions from code review
Co-authored-by: Joshua Nelson <joshua@yottadb.com>
|
|
These tests will fall without the next commit.
|
|
|
|
|
|
Add tests in which the variable is initialized with a match expression and function call
|
|
|
|
|
|
It emits a lint when the pushed item is a literal, a constant and an immutable binding that are initialized with those.
|
|
[beta] Update cargo
1 commits in 51b66125ba97d2906f461b3f4e0408f206299bb6..f3c7e066ad66e05439cf8eab165a2de580b41aaf
2020-08-19 20:22:52 +0000 to 2020-08-28 19:37:58 +0000
- [beta] Fix LTO with doctests. (rust-lang/cargo#8658)
|
|
|