summary refs log tree commit diff
AgeCommit message (Collapse)AuthorLines
2023-05-31Auto merge of #112145 - wesleywiser:backport_112070, r=Mark-Simulacrum 1.70.0bors-19/+92
Backport of #112070 Backports #112070 to stable r? `@Mark-Simulacrum`
2023-05-31add FIXMElcnr-0/+5
2023-05-31add testslcnr-0/+78
2023-05-31unique borrows are mutating useslcnr-19/+9
2023-05-30Auto merge of #112107 - Mark-Simulacrum:stable-next, r=Mark-Simulacrumbors-0/+23
[stable] 1.70.0 (backport) Backport https://github.com/rust-lang/rust/pull/112026 into 1.70.0 stable. Will rebuild dev-static artifacts after this gets built. r? `@Mark-Simulacrum`
2023-05-30Exclude Rvalue::AddressOf for raw pointer deref alignment checksBen Kimock-0/+8
2023-05-30Add a test for misaligned pointer derefs inside addr_of!Ben Kimock-0/+15
2023-05-29Auto merge of #112067 - Mark-Simulacrum:stable-next, r=Mark-Simulacrumbors-14/+256
[stable] Prepare 1.70.0 release r? `@Mark-Simulacrum`
2023-05-29Use the standard macOS CI runnerRyan Levick-7/+7
2023-05-29Prepare 1.70.0 releaseMark Rousskov-7/+249
2023-05-26Auto merge of #111971 - cuviper:beta-next, r=cuviperbors-18/+130
[beta] backport - Dont check `must_use` on nested `impl Future` from fn #111491 - fix recursion depth handling after confirmation #111754 r? cuviper
2023-05-25add testlcnr-1/+72
(cherry picked from commit c5ec1b8bc57797d3a01aa1258139fcfb3c629628)
2023-05-25update recursion depth in `confirm_candidate`lcnr-3/+26
(cherry picked from commit 1708ad65a45fa39aa177c5f015415a9440c18912)
2023-05-25Dont check `must_use` on nested `impl Future` from fnMichael Goulet-14/+32
(cherry picked from commit 926e874fd1dccc208bf63db7a4288adf46caa3c3)
2023-05-20Auto merge of #111776 - cuviper:beta-next, r=cuviperbors-85/+181
[beta] backport - debuginfo: split method declaration and definition #111167 - Encode VariantIdx so we can decode ADT variants in the right order #111494 - Simplify find_width_of_character_at_span. #111560 r? cuviper
2023-05-19Simplify find_width_of_character_at_span.Mara Bos-24/+8
(cherry picked from commit 6289c57dc0ee8ebbe9e20fad808f85aed0afeceb)
2023-05-19Encode VariantIdx so we can decode variants in the right orderMichael Goulet-27/+63
(cherry picked from commit ff54c801f0c1552941bda472df992e9f9be25f33)
2023-05-19debuginfo: split method declaration and definitionJosh Stone-34/+110
When we're adding a method to a type DIE, we only want a DW_AT_declaration there, because LLVM LTO can't unify type definitions when a child DIE is a full subprogram definition. Now the subprogram definition gets added at the CU level with a specification link back to the abstract declaration. (cherry picked from commit 10b69dde3fd15334ea2382d2dc9e9a261de1afaf)
2023-05-07Auto merge of #111290 - Mark-Simulacrum:beta-backport, r=Mark-Simulacrumbors-4/+15
[beta] backport This PR backports: - #111015: Remove wrong assertion in match checking. - #110917: only error combining +whole-archive and +bundle for rlibs - #111201: bootstrap: add .gitmodules to the sources r? `@Mark-Simulacrum`
2023-05-06bootstrap: add .gitmodules to the sourcesKrasimir Georgiev-0/+1
The bootstrap builder now expects this file to exist: https://github.com/rust-lang/rust/blob/6f8c0557e0b73c73a8a7163a15f4a5a3feca7d5c/src/bootstrap/builder.rs#L494
2023-05-06only error with +whole-archive,+bundle for rlibsBe Wilson-1/+4
Fixes https://github.com/rust-lang/rust/issues/110912 Checking `flavor == RlibFlavor::Normal` was accidentally lost in 601fc8b36b1962285e371cf3c54eeb3b1b9b3a74 https://github.com/rust-lang/rust/pull/105601 That caused combining +whole-archive and +bundle link modifiers on non-rlib crates to fail with a confusing error message saying that combination is unstable for rlibs. In particular, this caused the build to fail when +whole-archive was used on staticlib crates, even though +whole-archive effectively does nothing on non-bin crates because the final linker invocation is left to an external build system.
2023-05-06Remove wrong assertion.Camille GILLOT-3/+10
2023-05-05Auto merge of #111180 - weihanglo:update-beta-cargo, r=weihanglobors-0/+0
[beta] Update cargo 2 commits in 84b7041fd2745ee6b3b4a150314f81aabb78e6b2..ec8a8a0cabb0e0cadef58902470f6c7ee7868bdc 2023-04-13 20:08:40 +0000 to 2023-04-25 19:46:25 +0000 - [beta-1.70] backport add the Win32_System_Console feature (rust-lang/cargo#12038) - [beta-1.70] Backport not_found_permutations test fix. (rust-lang/cargo#11983) r? `@ghost`
2023-05-04[beta] Update cargoWeihang Lo-0/+0
2023-04-30Auto merge of #110871 - cuviper:beta-next, r=cuviperbors-425/+365
[beta] backport This PR backports: - Encode def span for ConstParam #110425 - Update to LLVM 16.0.2 #110535 - Encode lifetime param spans too #110469 - make sysroot finding compatible with multiarch systems #110281 - Update awscli #110952 - Temporarily disable the jobserver-error test #110361 Also bumps us to the latest released stable, 1.69.0. r? `@cuviper`
2023-04-29Temporarily disable the jobserver-error testEric Huss-0/+1
(cherry picked from commit 79b3af3f623046bb1fccafdffab0432863a58315)
2023-04-28Update awscliEric Huss-3/+4
(cherry picked from commit dd6314f96cbe9057572dfd8b49e31e113eebe42f)
2023-04-27make sysroot finding compatible with multiarch systemsozkanonur-17/+18
Signed-off-by: ozkanonur <work@onurozkan.dev> (cherry picked from commit 2e98368c2f1a4cbefa3c8f43f550a7fc1831636e)
2023-04-27Encode lifetime param spans tooMichael Goulet-31/+49
(cherry picked from commit 24c2c075cc2216af8868809fdd68c9da8466c327)
2023-04-26Bump bootstrap to 1.69.0Josh Stone-402/+291
2023-04-26Update to LLVM 16.0.2Nikita Popov-0/+0
(cherry picked from commit 935b95630a90acf50ff0c0d1bbd07c7f8f9d1150)
2023-04-26Encode def span for ConstParamMichael Goulet-2/+32
(cherry picked from commit 1ee189cde53a4cecd3e8811d6ffe983676a70c7b)
2023-04-19Auto merge of #110414 - pietroalbini:pa-1.70.0-beta, r=Mark-Simulacrumbors-113/+165
[beta] Prepare Rust 1.70.0 This PR replaces the version placeholders, and changes the channel to `beta`. r? `@ghost` cc `@rust-lang/release`
2023-04-17update tests for the test harness's json formattingPietro Albini-0/+20
2023-04-17add support for `// unset-exec-env` in compiletestPietro Albini-4/+32
2023-04-17treat the dev channel as nightly in compiletestPietro Albini-1/+5
2023-04-16bump the channel to betaPietro Albini-1/+1
2023-04-16replace version placeholdersPietro Albini-107/+107
2023-04-15Auto merge of #110323 - lcnr:dropck-uwu, r=compiler-errorsbors-1/+3
explicit `adt_dtorck_constraint` for `ManuallyDrop` the only reason we didn't add outlives requirements when dropping `ManuallyDrop` was a fast-path in `trivial_dropck_outlives`. Explicitly acknowledge that fast-path in `adt_dtorck_constraint`
2023-04-15Auto merge of #109900 - cjgillot:disable-const-prop, r=oli-obkbors-108/+8
Only enable ConstProp at mir-opt-level >= 2. That pass is not responsible for lints any more, so we can restrict it to optimized builds. This reduces the amount of duplicated const-eval messages.
2023-04-15Remove obsolete test.Camille GILLOT-47/+0
2023-04-15Bless run-make.Camille GILLOT-1/+7
2023-04-15Bless codegen test.Camille GILLOT-3/+0
2023-04-15Remove outdated comment.Camille GILLOT-2/+0
2023-04-15Remove useless methods in visit.Camille GILLOT-6/+0
2023-04-15Only enable ConstProp at mir-opt-level >= 2.Camille GILLOT-49/+1
2023-04-15Auto merge of #110335 - asomers:rust-gdb-freebsd, r=jyn514bors-3/+3
Fix rust-gdb on FreeBSD "\w" is a GNU-specific extension to sed. Avoid it. Fixes #110334 Signed-off-by: Alan Somers <asomers@gmail.com>
2023-04-15Auto merge of #109802 - notriddle:notriddle/rustdoc-search-generics-nested, ↵bors-13/+195
r=GuillaumeGomez rustdoc-search: add support for nested generics This change allows `search.js` to parse nested generics (which look `Like<This<Example>>`) and match them. It maintains the existing "bag semantics", so that the order of type parameters is ignored but the number is required to be greater than or equal to what's in the query. For example, a function with the signature `fn read_all(&mut self: impl Read) -> Result<Vec<u8>, Error>` will match these queries: * `Read -> Result<Vec<u8>, Error>` * `Read -> Result<Error, Vec>` * `Read -> Result<Vec<u8>>` But it *does not* match `Result<Vec, u8>` or `Result<u8<Vec>>`.
2023-04-14Typo fix in src/etc/rust-gdbAlan Somers-1/+1
Co-authored-by: SNCPlay42 <SNCPlay42@gmail.com>
2023-04-15Auto merge of #110142 - Mark-Simulacrum:reduce-core-counts, r=pietroalbinibors-100/+108
Reduce core counts for a number of builders Best reviewed by-commit; first commit renames all builder names to include core counts. Applied changes for these builders (only on the auto branch, haven't touched PR CI): - arm-android -> 8 core (currently at 39 minutes; 25.58% CPU) - armhf-gnu -> 8 core (currently at 31 minutes; 30.97% CPU) - dist-aarch64-linux -> 8 core (currently at 35 minutes; 55.38% CPU) - dist-android -> 8 core (currently at 18 minutes; 43.03% CPU) - dist-armhf-linux -> 8 core (currently at 27 minutes; 54.71% CPU) - dist-armv7-linux -> 8 core (currently at 29 minutes; 50.33% CPU) - dist-i586-gnu-i586-i686-musl -> 8 core (currently at 27 minutes; 48.31% CPU) - dist-i686-linux -> 8 core (currently at 32 minutes; 52.39% CPU) - dist-mips-linux -> 8 core (currently at 25 minutes; 55.09% CPU) - dist-mips64-linux -> 8 core (currently at 25 minutes; 55.33% CPU) - dist-mips64el-linux -> 8 core (currently at 26 minutes; 54.93% CPU) - dist-mipsel-linux -> 8 core (currently at 25 minutes; 55.38% CPU) - dist-powerpc-linux -> 8 core (currently at 26 minutes; 55.77% CPU) - dist-powerpc64-linux -> 8 core (currently at 27 minutes; 55.03% CPU) - dist-powerpc64le-linux -> 8 core (currently at 27 minutes; 54.95% CPU) - dist-riscv64-linux -> 8 core (currently at 26 minutes; 54.43% CPU) - dist-s390x-linux -> 8 core (currently at 30 minutes; 55.97% CPU) - dist-various-1 -> 8 core (currently at 36 minutes; 29.16% CPU) - dist-various-2 -> 8 core (currently at 27 minutes; 32.69% CPU) - dist-x86_64-freebsd -> 8 core (currently at 27 minutes; 51.69% CPU) - dist-x86_64-illumos -> 8 core (currently at 30 minutes; 54.88% CPU) - dist-x86_64-musl -> 8 core (currently at 39 minutes; 57.56% CPU) - dist-x86_64-netbsd -> 8 core (currently at 26 minutes; 55.82% CPU) - mingw-check -> 8 core (currently at 17 minutes; 35.00% CPU) - test-various -> 8 core (currently at 22 minutes; 44.84% CPU) - wasm32 -> 8 core (currently at 19 minutes; 62.94% CPU) - x86_64-gnu -> 8 core (currently at 32 minutes; 50.31% CPU) - x86_64-gnu-stable -> 8 core (currently at 32 minutes; 51.23% CPU) - x86_64-gnu-aux -> 8 core (currently at 22 minutes; 46.39% CPU) - x86_64-gnu-debug -> 8 core (currently at 21 minutes; 53.93% CPU) - x86_64-gnu-distcheck -> 8 core (currently at 38 minutes; 55.93% CPU) - x86_64-gnu-llvm-15 -> 8 core (currently at 34 minutes; 52.99% CPU) - x86_64-gnu-llvm-14 -> 8 core (currently at 34 minutes; 52.09% CPU) - x86_64-gnu-llvm-14-stage1 -> 8 core (currently at 33 minutes; 51.13% CPU) - x86_64-gnu-nopt -> 8 core (currently at 29 minutes; 53.36% CPU) - x86_64-gnu-tools -> 8 core (currently at 22 minutes; 40.56% CPU) We may also want to look at merging some of these builders in the future (to deduplicate stage0 builds and such) but that can happen separately - and is more work than just adjusting core counts. r? `@pietroalbini`