| Age | Commit message (Collapse) | Author | Lines |
|
[stable] Promote 1.68.0 beta to stable
https://forge.rust-lang.org/release/process.html#beta-to-stable
r? `@Mark-Simulacrum`
|
|
|
|
[beta] stage0 bump and backports
- Bump stage0 to stable
- Revert to using `RtlGenRandom` as a fallback #108060
- Fix `VecDeque::shrink_to` and add tests. #108475
- Fix `VecDeque::append` capacity overflow for ZSTs #108462
- Clippy: Fix array-size-threshold config deserialization error #108673 / rust-lang/rust-clippy#10423
- Yeet point_at_expr_source_of_inferred_type for now #108703
r? `@ghost`
|
|
|
|
|
|
(cherry picked from commit 12f959ba39ad353ce07971aaf8cef564f86b068d)
|
|
(cherry picked from commit 379b18bb0ab07e8f7ba04ca29ba52a1817cec1ce)
|
|
(cherry picked from commit 4a4f43e4e9b994c729a0506d921fe9734673a20a)
|
|
This adds both a test specific to #108453 as well as an exhaustive test
that goes through all possible combinations of head index, length and target capacity
for a deque with capacity 16.
(cherry picked from commit 9e22516877a2853c71456ef792fcbd9087fb905a)
|
|
This is required due to `BCryptGenRandom` failing to load the necessary dll on some systems.
(cherry picked from commit dfd0afb991d4bfbd6fdf86adb631e428c185ac89)
|
|
|
|
[beta-1.68] cargo beta backports
3 commits in ddf05ad7a66f4cfbe79d7692b84aa144c1aac34d..115f34552518a2f9b96d740192addbac1271e7e6 2023-02-09 03:13:43 +0000 to 2023-02-26 15:07:29 +0000
- [beta-1.68] backport rust-lang/cargo#11756 (rust-lang/cargo#11773)
- [beta-1.68] backport rust-lang/cargo#11759 (rust-lang/cargo#11760)
- [beta-1.68] backport rust-lang/cargo#11733 (rust-lang/cargo#11735)
r? `@ghost`
|
|
3 commits in ddf05ad7a66f4cfbe79d7692b84aa144c1aac34d..115f34552518a2f9b96d740192addbac1271e7e6
2023-02-09 03:13:43 +0000 to 2023-02-26 15:07:29 +0000
- [beta-1.68] backport rust-lang/cargo#11756 (rust-lang/cargo#11773)
- [beta-1.68] backport rust-lang/cargo#11759 (rust-lang/cargo#11760)
- [beta-1.68] backport rust-lang/cargo#11733 (rust-lang/cargo#11735)
|
|
[beta] backport
* Do not eagerly recover for bad impl Trait types in macros #107813
* Fix infinite loop in rustdoc get_all_import_attributes function #107357
* Bring tests back into rustc source tarball #107239
r? `@Mark-Simulacrum`
|
|
They were missing after recent move from src/test to tests.
|
|
|
|
|
|
|
|
[beta-1.68] cargo beta backports
1 commits in 0762e3bbdb6fa64b6859154199ec47d6c90c731c..ddf05ad7a66f4cfbe79d7692b84aa144c1aac34d 2023-01-30 22:07:51 +0000 to 2023-02-09 03:13:43 +0000
- [beta-1.68] Backport fixes (rust-lang/cargo#11674)
r? `@ghost`
|
|
1 commits in 0762e3bbdb6fa64b6859154199ec47d6c90c731c..ddf05ad7a66f4cfbe79d7692b84aa144c1aac34d
2023-01-30 22:07:51 +0000 to 2023-02-09 03:13:43 +0000
- [beta-1.68] Backport fixes (rust-lang/cargo#11674)
|
|
pnkfelix:backport-reverts-to-fix-thin-archive-reading-for-1-68-beta, r=cuviper
Backport reverts to fix thin archive reading for 1 68 beta
This is a backport of PR #107360 aimed at beta.
cc https://github.com/rust-lang/rust/issues/107162, https://github.com/rust-lang/rust/issues/107334 and https://github.com/google/shaderc-rs/issues/133
|
|
This reverts commit fcbae989ae790d5b9a0a23ceba242d0b0d4e6c5b.
|
|
|
|
This reverts commit bd8e476d8bd85b6d60a0de7694d154b4a74f5133.
|
|
This reverts commit 047c7cc60c05e2cf182c6f578581cf2a67b1d0ff.
|
|
ArArchiveBuilder doesn't support reading thin archives, causing a
regression.
|
|
[beta] Cargo 1.68.0 backports
1 commits in 985d561f0bb9b76ec043a2b12511790ec7a2b954..0762e3bbdb6fa64b6859154199ec47d6c90c731c 2023-01-20 14:39:28 +0000 to 2023-01-30 22:07:51 +0000
- [beta-1.68] Backport fixes of split-debuginfo detection (rust-lang/cargo#11649)
r? `@ehuss`
|
|
1 commits in 985d561f0bb9b76ec043a2b12511790ec7a2b954..0762e3bbdb6fa64b6859154199ec47d6c90c731c
2023-01-20 14:39:28 +0000 to 2023-01-30 22:07:51 +0000
- [beta-1.68] Backport fixes of split-debuginfo detection (rust-lang/cargo#11649)
|
|
[beta] 1.68 branch
Seems like no pending backports this time around.
r? `@Mark-Simulacrum`
|
|
|
|
|
|
Rollup of 8 pull requests
Successful merges:
- #103418 (Add `SEMICOLON_IN_EXPRESSIONS_FROM_MACROS` to future-incompat report)
- #106113 (llvm-wrapper: adapt for LLVM API change)
- #106144 (Improve the documentation of `black_box`)
- #106578 (Label closure captures/generator locals that make opaque types recursive)
- #106749 (Update cc to 1.0.77)
- #106935 (Fix `SingleUseLifetime` ICE)
- #107015 (Re-enable building rust-analyzer on riscv64)
- #107029 (Add new bootstrap members to triagebot.toml)
Failed merges:
r? `@ghost`
`@rustbot` modify labels: rollup
|
|
Add new bootstrap members to triagebot.toml
```@ozkanonur``` if you want to be assigned to review PRs too, just post a message to this thread.
Should a `T-bootstrap` label be created, since `src/tools/tidy` is assigned to the `bootstrap` members, but labeled `A-testsuite` (and not `A-bootstrap`) ?
cc ```@jyn514```
|
|
Re-enable building rust-analyzer on riscv64
It was disabled in #75103 due to an LLVM bug, but followup comments have
confirmed that it builds fine on Fedora with LLVM 15.
r? ```@Mark-Simulacrum```
cc ```@matklad``` ```@davidlt```
|
|
Fix `SingleUseLifetime` ICE
Fixes #104440
cc: ``@matthiaskrgr``
|
|
Update cc to 1.0.77
Fixes (without a test) #98746.
|
|
Label closure captures/generator locals that make opaque types recursive
cc https://github.com/rust-lang/rust/issues/46415#issuecomment-1374665828
|
|
Improve the documentation of `black_box`
There don't seem to be many great resources on how `black_box` should be used, so I added some information here
|
|
llvm-wrapper: adapt for LLVM API change
No functional changes intended.
The LLVM commit https://github.com/llvm/llvm-project/commit/e6b02214c68df2c9f826e02310c9352ac652e456 added `TargetExtTyID` to the `TypeID` enum. This adapts `RustWrapper` accordingly.
|
|
Add `SEMICOLON_IN_EXPRESSIONS_FROM_MACROS` to future-incompat report
See https://github.com/rust-lang/rust/issues/79813 for a discussion of this lint. This has been warn-by-default for over a year, so adding it to the future-incompat report should help to find libraries that haven't yet updated.
|
|
r=Mark-Simulacrum
Revert "Make PROC_MACRO_DERIVE_RESOLUTION_FALLBACK a hard error"
This reverts commit 7d82cadd97acc66993b69304c5a1a04ef7d1fa36 aka PR #84022
I am doing this to buy us some time with respect to issue #106337 w.r.t. the 1.67 release.
|
|
ci: upgrade mingw-check to ubuntu:22.04
|
|
|
|
Remap paths in UI tests by default
If you think this needs further discussions / something RFC-like, please let me know the best forum for that.
This PR runs UI tests with a remapped "src base" directory by default.
Why? Because some UI tests currently depend on the length of the absolute path to the `src/test/ui` directory. Remapping makes the tests independent of the absolute path.
The path to the source file (which is absolute on CI) is part of the type name of closures. `rustc` diagnostic output depends on the length of type names (long type names are truncated). So a long absolute path leads to long closure type names, which leads to truncation and changed diagnostics.
(I initially tried just disabling type name truncation, but that made some error messages stupid long (thousands of characters, IIRC)).
Additional changes:
* All boolean `compiletest` directives now support explicit `no-` versions to disable them.
* Adapt existing tests when necessary:
* Disable remapping for individual tests that fail with it enabled (when there's no obvious alternative fix).
* For tests that already check something remapping related switch to the new option unless we gain something significant by keeping the manual remap.
Passed Windows CI in https://github.com/rust-lang/rust/actions/runs/3933100590
|
|
Use UnordMap and UnordSet for id collections (DefIdMap, LocalDefIdMap, etc)
This PR changes the `rustc_data_structures::define_id_collections!` macro to use `UnordMap` and `UnordSet` instead of `FxHashMap` and `FxHashSet`. This should account for a large portion of hash-maps being used in places where they can cause trouble.
The changes required are moderate but non-zero:
- In some places the collections are extracted into sorted vecs.
- There are a few instances where for-loops have been changed to extends.
~~Let's see what the performance impact is. With a bit more refactoring, we might be able to get rid of some of the additional sorting -- but the change set is already big enough. Unless there's a performance impact, I'd like to do further changes in subsequent PRs.~~
Performance does not seem to be negatively affected ([perf-run here](https://github.com/rust-lang/rust/pull/106977#issuecomment-1396776699)).
Part of [MCP 533](https://github.com/rust-lang/compiler-team/issues/533).
r? `@ghost`
|
|
Lazy dominator tree construction in borrowck
Motivated by the observation that sometimes constructed dominator tree was never queried.
|
|
Simplify `derive(Debug)` output for fieldless enums
Fixes #106875
|
|
|
|
Rollup of 9 pull requests
Successful merges:
- #104154 (Change `bindings_with_variant_name` to deny-by-default)
- #104347 (diagnostics: suggest changing `s@self::{macro}`@::macro`` for exported)
- #104672 (Unify stable and unstable sort implementations in same core module)
- #107048 (check for x version updates)
- #107061 (Implement some more new solver candidates and fix some bugs)
- #107095 (rustdoc: remove redundant CSS selector `.sidebar .current`)
- #107112 (Fix typo in opaque_types.rs)
- #107124 (fix check macro expansion)
- #107131 (rustdoc: use CSS inline layout for radio line instead of flexbox)
Failed merges:
r? `@ghost`
`@rustbot` modify labels: rollup
|
|
notriddle:notriddle/rustdoc-radio-display-inline-flex, r=GuillaumeGomez
rustdoc: use CSS inline layout for radio line instead of flexbox
This uses less code to lay them out the same way. Already tested here:
https://github.com/rust-lang/rust/blob/5ce39f42bd2c8bca9c570f0560ebe1fce4eddb14/tests/rustdoc-gui/settings.goml#L123
|