Commit graph

212294 commits

Author SHA1 Message Date
bors
d5a82bbd26 Auto merge of #107743 - cuviper:stable-1.67.1, r=Mark-Simulacrum
Release 1.67.1

- Revert back to LlvmArchiveBuilder on all platforms #107360
- 🚨 fix unsoundness in bootstrap cache code #105624
- Mark uninlined_format_args as pedantic rust-lang/rust-clippy#10265
- Revert "switch to the macos-12-xl builder" #107574

r? `@Mark-Simulacrum`
2023-02-07 06:43:12 +00:00
Michael Goulet
2242436183 Revert "switch to the macos-12-xl builder"
This reverts commit fcbae989ae.
2023-02-06 19:55:00 -08:00
Josh Stone
30e7b0510a Release 1.67.1 2023-02-06 14:54:54 -08:00
Manish Goregaokar
32f4890544 Mark uninlined_format_args as pedantic 2023-02-06 14:45:43 -08:00
Michael Goulet
3fe64ebbce 🚨 fix unsoundness in bootstrap cache code 2023-02-06 14:40:16 -08:00
bjorn3
3416a0fc54 Revert back to LlvmArchiveBuilder on all platforms
ArArchiveBuilder doesn't support reading thin archives, causing a
regression.
2023-02-02 15:30:14 -05:00
bors
fc594f1566 Auto merge of #107260 - Mark-Simulacrum:stable-next, r=Mark-Simulacrum
[stable] 1.67.0 release

No end of cycle backports this time.

r? `@Mark-Simulacrum`
2023-01-24 23:11:13 +00:00
Mark Rousskov
336198867c 1.67.0 release 2023-01-24 08:46:46 -05:00
bors
2276448926 Auto merge of #107164 - Mark-Simulacrum:beta-next, r=Mark-Simulacrum
[beta] backport

*  Don't wf-check non-local RPITs #107038
* Revert "Make PROC_MACRO_DERIVE_RESOLUTION_FALLBACK a hard error" #107133
* bump bootstrap 1.66.1

r? `@Mark-Simulacrum`
2023-01-22 01:12:59 +00:00
Mark Rousskov
e9de5a67a7 Bump bootstrap to 1.66.1 2023-01-21 14:20:34 -05:00
Mark Rousskov
31fda7d083 Revert "Make PROC_MACRO_DERIVE_RESOLUTION_FALLBACK a hard error"
This reverts commit 7d82cadd97.
2023-01-21 14:20:34 -05:00
Michael Goulet
a0f0a5f411 Conditionally encode boolean 2023-01-21 14:20:34 -05:00
Michael Goulet
4432930f23 Add test 2023-01-21 14:20:34 -05:00
Michael Goulet
62ed577fd9 Encode whether foreign opaques are TAITs or not 2023-01-21 14:20:34 -05:00
bors
b7a6d74d7a Auto merge of #107071 - Mark-Simulacrum:beta-next, r=Mark-Simulacrum
[beta] backport rollup

* Revert "Make nested RPITIT inherit the parent opaque's generics." #106759
*  Fix mpsc::SyncSender spinning behavior #106701
*  rustdoc: fix outdated lint section of the book #106605
*  Do not filter substs in remap_generic_params_to_declaration_params. #106503
*  Correct detection of elided lifetimes in impl-trait. #106501
*  Bump rust-installer #106196
*  Don't panic on stable since miri is not available there #105901
2023-01-20 09:39:31 +00:00
Oli Scherer
8669f7efaf Don't panic on stable since miri is not available there 2023-01-19 09:14:43 -05:00
Mark Rousskov
d2f7d92d1d Bump rust-installer
* `--without=component-a,component-b` now requires full component names.
  This fixes rust-lang/rust#105755 (rust-lang/rust-installer#119).
2023-01-19 09:14:11 -05:00
Camille GILLOT
5fdce899ed Correct detection of elided lifetimes in impl-trait. 2023-01-19 09:13:52 -05:00
Camille GILLOT
f0998711d9 Do not filter substs in remap_generic_params_to_declaration_params.
The relevant filtering should have been performed by borrowck.
2023-01-19 09:13:30 -05:00
Michael Howell
26c3226fbc rustdoc: fix outdated lint section of the book 2023-01-19 09:12:29 -05:00
Ibraheem Ahmed
68da67307b rework and document backoff behavior of sync::mpsc 2023-01-19 09:12:07 -05:00
Ibraheem Ahmed
56fc5ff4b4 add SyncSender::send_timeout test 2023-01-19 09:11:41 -05:00
Ibraheem Ahmed
2081de9684 fix SyncSender spinning behavior 2023-01-19 09:11:41 -05:00
Michael Goulet
62173f97b2 Revert "Make nested RPITIT inherit the parent opaque's generics." and adjust test
This reverts commit e2d41f4c97.
2023-01-19 09:11:08 -05:00
bors
7a9ae0ce66 Auto merge of #106731 - flip1995:clippy_backport, r=Mark-Simulacrum
[beta] Clippy: Move manual_clamp to nursery

There was a lot of discussion about this lint in https://github.com/rust-lang/rust-clippy/pull/9484#issuecomment-1278922613

We decided to move the lint to `nursery`. But since this lint broke code of many popular projects, we don't want to wait another release cycle until this move gets into stable. So we'd like to backport this commit to `beta`.

cc `@rust-lang/clippy` for approval from the Clippy side.
2023-01-14 11:35:12 +00:00
Philipp Krones
e74700cd3e
Move manual_clamp to nursery 2023-01-11 17:31:42 +01:00
bors
275123cf60 Auto merge of #106686 - pietroalbini:pa-cve-beta, r=pietroalbini
[beta] Fix CVE-2022-46176

See https://blog.rust-lang.org/2023/01/10/cve-2022-46176.html

r? `@ghost`
2023-01-11 01:41:43 +00:00
Pietro Albini
7c58986bbe
add subtle dependency 2023-01-10 18:24:58 +01:00
Pietro Albini
ebf230fb62
bump Cargo submodule to fix CVE-2022-46176 2023-01-10 17:27:36 +01:00
Pietro Albini
c9e9dd21f7
disable fast submodule checkout due to spurious ci failures 2023-01-10 16:31:25 +01:00
bors
51b03459a4 Auto merge of #106326 - matthiaskrgr:beta_clippy, r=Mark-Simulacrum
[beta] backport clippy stack overflow fix

Backports https://github.com/rust-lang/rust-clippy/pull/10086 to the beta branch where the bug is still present.

I just cherry-picked the commit.

cc `@rust-lang/clippy`
2022-12-31 14:29:21 +00:00
Gary Guo
67745d4949 Fix new_return_no_self with recursive bounds 2022-12-31 09:17:42 +01:00
bors
6b1892c280 Auto merge of #106163 - compiler-errors:🅱-IMPLIED_BOUNDS_ENTAILMENT, r=Mark-Simulacrum
Backport `IMPLIED_BOUNDS_ENTAILMENT` lint

r? `@Mark-Simulacrum` as requested https://github.com/rust-lang/rust/pull/105575#issuecomment-1365490589
2022-12-28 19:46:17 +00:00
bors
6711f7ab4c Auto merge of #106188 - bryangarza:bug-104588-async-track-caller_beta-backport, r=compiler-errors
Backport: Switch `#[track_caller]` back to a no-op unless feature gate is enabled

Backport of #104741

r? `@compiler-errors` since you reviewed the original PR
requested by `@Mark-Simulacrum` https://github.com/rust-lang/rust/pull/104741#issuecomment-1365492142
2022-12-28 00:07:43 +00:00
Bryan Garza
8b768717f2 Switch #[track_caller] back to a no-op unless feature gate is enabled
This patch fixes a regression, in which `#[track_caller]`, which was
previously a no-op, was changed to actually turn on the behavior. This
should instead only happen behind the `closure_track_caller` feature
gate.

Also, add a warning for the user to understand how their code will
compile depending on the feature gate being turned on or not.

Fixes #104588
2022-12-27 18:00:12 +00:00
bors
b364405cc3 Auto merge of #106162 - Mark-Simulacrum:beta-next, r=Mark-Simulacrum
[beta] backport rollup

* Revert "Replace usage of ResumeTy in async lowering with Context" #105915
*  Don't copy symbols from dylibs with -Zdylib-lto #105800
*  rustdoc: Only hide lines starting with # in rust code blocks #105539
*  Mangle "main" as "__main_void" on wasm32-wasi #105468

r? `@ghost`
2022-12-27 00:56:28 +00:00
Michael Goulet
dc442c5717 Make fast-path for implied wf lint better 2022-12-26 22:49:04 +00:00
Michael Goulet
70d081e13f Downgrade IMPLIED_BOUNDS_ENTAILMENT to warn by default, add it to builtin lint list 2022-12-26 22:48:41 +00:00
Michael Goulet
600b027510 Make Clippy test no longer unsound 2022-12-26 22:48:41 +00:00
Michael Goulet
8bfda7aafd Add IMPLIED_BOUNDS_ENTAILMENT lint 2022-12-26 22:48:39 +00:00
Dan Gohman
dbc1048dc9 Mangle "main" as "__main_void" on wasm32-wasi
On wasm, the age-old C trick of having a main function which can either have
no arguments or argc+argv doesn't work, because wasm requires caller and
callee signatures to match. WASI's current strategy is to have compilers
mangle main's name to indicate which signature they're using. Rust uses the
no-argument form, which should be mangled as `__main_void`.

This is needed on wasm32-wasi as of #105395.
2022-12-26 17:31:05 -05:00
Guillaume Gomez
d4bafb6aa5 Add test for non-rust code block hashtag prepended lines 2022-12-26 17:30:41 -05:00
Guillaume Gomez
4b988c9f11 Don't take into account hashtag prepended lines if not in rust code block 2022-12-26 17:30:35 -05:00
Rémy Rakic
95887f270a add simulated non-regression test for issue 105637 2022-12-26 17:28:25 -05:00
Rémy Rakic
0645c3df57 don't copy symbols from dylibs with -Zdylib-lto 2022-12-26 17:28:25 -05:00
Andrew Pollack
ff4ca95691 Revert "Replace usage of ResumeTy in async lowering with Context" 2022-12-26 17:28:02 -05:00
bors
352eb59a4c Auto merge of #105607 - pietroalbini:pa-beta-1.67.0, r=pietroalbini
[beta] Prepare beta 1.67.0

This PR changes the branch to beta and updates the stabilization version numbers.

r? `@ghost`
2022-12-13 10:29:06 +00:00
Pietro Albini
cfccd7e845
Merge pull request #3 from lukas-code/beta-next
[beta] Adjust miri to still be optional
2022-12-13 09:23:25 +01:00
Mark Rousskov
565b8ecaac Adjust miri to still be optional
We don't distribute a miri build for beta/stable so it needs to be kept
optional. In the future it likely makes sense to switch the miri
*artifacts* to always be built, but the rustup component to not be
included -- this will avoid some of this pain.
2022-12-13 00:06:21 +01:00
Pietro Albini
c8f3406652
update stabilization version numbers 2022-12-12 13:50:00 +01:00