bors
9eb3afe9eb
Auto merge of #109644 - pietroalbini:pa-1.68.2, r=pietroalbini
...
[stable] Prepare Rust 1.68.2
This PR prepares the 1.68.2 point release, including the following Cargo PRs:
* rust-lang/cargo#11883
* rust-lang/cargo#11889
The following PR was also included as a pre-requisite for backporting:
* rust-lang/cargo#11635
cc `@rust-lang/release`
r? `@ghost`
2023-03-27 07:38:54 +00:00
Pietro Albini
fa0aae449a
bump cargo submodule
2023-03-27 00:07:03 +02:00
Pietro Albini
af9f6418ac
update release notes for 1.68.2
2023-03-26 22:29:04 +02:00
Pietro Albini
728dba9644
bump version number
2023-03-26 17:22:07 +02:00
bors
8460ca823e
Auto merge of #109335 - Mark-Simulacrum:stable-next, r=Mark-Simulacrum
...
[stable] 1.68.1 release
This packages up a set of release notes, version bump, and backports of:
* Don't eagerly convert principal to string #108162
* Revert "enable ThinLTO for rustc on x86_64-pc-windows-msvc dist builds" #109094
* Create dirs for build_triple #109111
* Fix linker detection for clang with prefix #109156
* ci: use apt install --download-only for solaris debs #108951
The last of those is not yet stable-accepted but I expect it to be, we will drop it and rebuild artifacts if we don't actually approve it.
r? `@Mark-Simulacrum`
2023-03-20 14:36:49 +00:00
Josh Stone
51bdb0f085
ci: use apt install --download-only for solaris debs
2023-03-20 08:15:08 -04:00
Mark Rousskov
8182801995
1.68.1 release
2023-03-19 10:16:10 -04:00
Taiki Endo
7bce15d381
Fix linker detection for clang with prefix
2023-03-18 20:51:01 -04:00
Mu001999
775805adea
Create dir for build_triple
2023-03-18 20:50:53 -04:00
Nilstrieb
79fa13422e
Revert "enable ThinLTO for rustc on x86_64-pc-windows-msvc dist builds"
...
This lead to a miscompilation in at least `char::is_whitespace` and
probably in more unknown places.....
This reverts commit 684663ed38 .
2023-03-18 20:50:41 -04:00
clubby789
1e4eb64a8c
Don't eagerly convert principal to string
2023-03-18 20:48:17 -04:00
bors
2c8cc34323
Auto merge of #108818 - Mark-Simulacrum:stable-next, r=Mark-Simulacrum
...
[stable] Promote 1.68.0 beta to stable
https://forge.rust-lang.org/release/process.html#beta-to-stable
r? `@Mark-Simulacrum`
2023-03-06 15:58:31 +00:00
Mark Rousskov
025e02c9ca
Promote 1.68.0 beta to stable
2023-03-06 09:40:47 -05:00
bors
47a8fcefc1
Auto merge of #108670 - cuviper:beta-next, r=cuviper
...
[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`
2023-03-04 01:55:08 +00:00
Michael Goulet
be90b53d2b
Yeet point_at_expr_source_of_inferred_type for now
2023-03-03 09:32:47 -08:00
Alex Macleod
2410b0dfdf
Fix array-size-threshold config deserialization error
2023-03-03 09:32:47 -08:00
pommicket
005892a589
Add test for VecDeque::append ZST capacity overflow
...
(cherry picked from commit 12f959ba39 )
2023-03-03 09:32:47 -08:00
pommicket
07a8043079
Use checked_add in VecDeque::append for ZSTs to avoid overflow
...
(cherry picked from commit 379b18bb0a )
2023-03-03 09:32:47 -08:00
Markus Everling
2d33fe73f4
Disambiguate comments
...
(cherry picked from commit 4a4f43e4e9 )
2023-03-03 09:32:47 -08:00
Markus Everling
a07453adef
Fix VecDeque::shrink_to and add tests.
...
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 9e22516877 )
2023-03-03 09:32:47 -08:00
Chris Denton
a541751231
Revert to using RtlGenRandom
...
This is required due to `BCryptGenRandom` failing to load the necessary dll on some systems.
(cherry picked from commit dfd0afb991 )
2023-03-03 09:32:47 -08:00
Josh Stone
40cb3f0e00
Bump stage0 to stable
2023-03-03 09:32:47 -08:00
bors
453d6d2351
Auto merge of #108508 - weihanglo:update-beta-cargo, r=weihanglo
...
[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`
2023-02-27 02:58:22 +00:00
Weihang Lo
b6383e7e8b
[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 )
2023-02-26 22:29:36 +00:00
bors
003b6f24e6
Auto merge of #108037 - Mark-Simulacrum:beta-next, r=Mark-Simulacrum
...
[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`
2023-02-15 00:03:17 +00:00
Tomasz Miąsko
993482a05d
Bring tests back into rustc source tarball
...
They were missing after recent move from src/test to tests.
2023-02-14 07:03:18 -05:00
Guillaume Gomez
e9abee735b
Add regression test for #107350
2023-02-14 07:03:18 -05:00
Guillaume Gomez
ea92c68d5e
Fix infinite loop in rustdoc get_all_import_attributes function
2023-02-14 07:03:18 -05:00
Michael Goulet
792a9a2eb3
Do not eagerly recover for bad impl-trait in macros
2023-02-14 06:47:56 -05:00
bors
a6d8057f09
Auto merge of #107849 - weihanglo:update-beta-cargo, r=weihanglo
...
[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`
2023-02-09 17:06:36 +00:00
Weihang Lo
3a03561a19
[beta-1.68] Update cargo
...
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 )
2023-02-09 14:39:47 +00:00
bors
5a6594b4fd
Auto merge of #107609 - 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
2023-02-08 13:28:43 +00:00
Michael Goulet
0e31fdbc4d
Revert "switch to the macos-12-xl builder"
...
This reverts commit fcbae989ae .
2023-02-07 17:27:47 -08:00
Manish Goregaokar
0fe1bba912
Mark uninlined_format_args as pedantic
2023-02-07 17:27:47 -08:00
bjorn3
77565f7950
Revert "Avoid a temporary file when processing macOS fat archives"
...
This reverts commit bd8e476d8b .
2023-02-02 15:22:14 -05:00
bjorn3
7afc4d2353
Revert "Remove macOS fat archive support from LlvmArchiveBuilder"
...
This reverts commit 047c7cc60c .
2023-02-02 15:22:04 -05:00
bjorn3
75625d33f3
Revert back to LlvmArchiveBuilder on all platforms
...
ArArchiveBuilder doesn't support reading thin archives, causing a
regression.
2023-02-02 15:21:35 -05:00
bors
10b73bf73a
Auto merge of #107504 - weihanglo:update-beta-cargo, r=ehuss
...
[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`
2023-02-01 16:49:53 +00:00
Weihang Lo
cf9aafe591
[beta] Update cargo
...
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 )
2023-01-31 08:33:53 +00:00
bors
efd27454ae
Auto merge of #107258 - Mark-Simulacrum:beta-next, r=Mark-Simulacrum
...
[beta] 1.68 branch
Seems like no pending backports this time around.
r? `@Mark-Simulacrum`
2023-01-25 01:51:56 +00:00
Mark Rousskov
c68f5b9eef
Set channel to beta
2023-01-24 08:40:18 -05:00
Mark Rousskov
b01e890d93
Set version placeholders to 1.68
2023-01-24 08:40:09 -05:00
bors
940d00f2f6
Auto merge of #107185 - compiler-errors:rollup-wkomjma, r=compiler-errors
...
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
2023-01-22 06:53:36 +00:00
Michael Goulet
31f9f21412
Rollup merge of #107029 - albertlarsan68:patch-2, r=Mark-Simulacrum
...
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```
2023-01-21 23:21:02 -05:00
Michael Goulet
1ac117b284
Rollup merge of #107015 - cuviper:ra-riscv64, r=Mark-Simulacrum
...
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```
2023-01-21 23:21:01 -05:00
Michael Goulet
8a830cf182
Rollup merge of #106935 - TaKO8Ki:fix-104440, r=cjgillot
...
Fix `SingleUseLifetime` ICE
Fixes #104440
cc: ``@matthiaskrgr``
2023-01-21 23:21:00 -05:00
Michael Goulet
5645d10f93
Rollup merge of #106749 - glandium:dwarf, r=Mark-Simulacrum
...
Update cc to 1.0.77
Fixes (without a test) #98746 .
2023-01-21 23:21:00 -05:00
Michael Goulet
1d2c9a84fa
Rollup merge of #106578 - compiler-errors:recursive-opaque-closure, r=TaKO8Ki
...
Label closure captures/generator locals that make opaque types recursive
cc https://github.com/rust-lang/rust/issues/46415#issuecomment-1374665828
2023-01-21 23:20:59 -05:00
Michael Goulet
d1405c82b8
Rollup merge of #106144 - tgross35:patch-1, r=Mark-Simulacrum
...
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
2023-01-21 23:20:59 -05:00
Michael Goulet
2504c8d1ee
Rollup merge of #106113 - krasimirgg:llvm-16-ext-tyid, r=nikic
...
llvm-wrapper: adapt for LLVM API change
No functional changes intended.
The LLVM commit e6b02214c6 added `TargetExtTyID` to the `TypeID` enum. This adapts `RustWrapper` accordingly.
2023-01-21 23:20:58 -05:00