bors
524d806c62
Auto merge of #127312 - Kobzol:ci-org-agnostic, r=jdno
...
Make CI more agnostic of the owning GitHub organization
This should make it possible to switch running `auto` and `try` builds from `rust-lang-ci` to `rust-lang`.
r? `@jdno`
2024-07-05 20:06:15 +00:00
Michael Goulet
e5412da723
Supertrait elaboration doesn't need to use Predicates
2024-07-05 15:51:53 -04:00
Esteban Küber
8e9a3661a8
Use verbose style for argument removal suggestion
2024-07-05 19:40:09 +00:00
bors
6e2780775f
Auto merge of #126957 - Oneirical:artestic-inspiration, r=jieyouxu,kobzol
...
Migrate `pgo-gen`, `pgo-use` and `profile` `run-make` tests to rmake.rs
Part of #121876 and the associated [Google Summer of Code project](https://blog.rust-lang.org/2024/05/01/gsoc-2024-selected-projects.html ).
try-job: aarch64-apple
try-job: x86_64-msvc
2024-07-05 17:46:11 +00:00
tison
3aa2abdd3d
add unit tests for extra extension feature
...
Signed-off-by: tison <wander4096@gmail.com>
2024-07-05 10:44:15 -07:00
Oneirical
48a9d4b68a
rewrite track-path-dep-info to rmake
2024-07-05 13:33:51 -04:00
tison
a0f4114ba9
update comments
...
Signed-off-by: tison <wander4096@gmail.com>
2024-07-05 10:29:35 -07:00
Michael Howell
fbb6300fc2
rustdoc-search: stop constructing pointless arrays in decode
...
I'm not sure why I ever thought that would be okay. This is
clearly hot code, and should avoid Array.prototype.map when
it's not needed. In any case, it shows up in the profiler.
rustdoc-js-profiler:
https://notriddle.com/rustdoc-html-demo-11/decode-opt-1/index.html
Firefox profiler:
[Before](https://share.firefox.dev/3RRH2fR )
[After](https://share.firefox.dev/3Wblcq8 )
2024-07-05 10:23:59 -07:00
Oneirical
8daf82fece
rewrite and rename issue-37839 to rmake
2024-07-05 13:20:32 -04:00
Oneirical
9f994b633a
rewrite pass-linker-flags-from-dep to rmake
2024-07-05 12:47:19 -04:00
Michael Goulet
465e7d546e
Rework receiver_is_valid
2024-07-05 11:59:54 -04:00
Michael Goulet
fb8d5f1e13
Actually just make can_eq process obligations (almost) everywhere
2024-07-05 11:59:54 -04:00
Michael Goulet
fdde66acee
Process alias-relate obligations when proving receiver_is_valid
2024-07-05 11:59:52 -04:00
Jules Bertholet
76da7aebe4
Match ergonomics 2024: test type inference
2024-07-05 11:17:49 -04:00
Jules Bertholet
5a35fc446e
Match ergonomics 2024: &
matches &mut
on old editions
2024-07-05 11:17:13 -04:00
Yoh Deadfall
291ed596f7
Added dots at the sentence ends of rustc AST doc
2024-07-05 18:10:05 +03:00
Jules Bertholet
5fd5b65093
Rename edition 2021 fail test
2024-07-05 11:06:18 -04:00
Oli Scherer
7dca61b68b
Use ControlFlow
results for visitors that are only looking for a single value
2024-07-05 15:00:40 +00:00
Chris Denton
7566f41209
Run alloc sync tests
2024-07-05 14:48:39 +00:00
Oneirical
c9be69fd0a
Add shallow_find_files helper function to run-make-support
2024-07-05 10:25:48 -04:00
Oneirical
811532be6e
Expectations struct for output-type-permutations
2024-07-05 10:20:56 -04:00
Oneirical
73994719b4
add shallow_find_files helper to run_make_support
2024-07-05 10:20:55 -04:00
Oneirical
3cdce7ee10
rewrite output-type-permutations to rmake
2024-07-05 10:19:59 -04:00
bors
9a21ac8e7e
Auto merge of #127365 - aDotInTheVoid:compiler-doc-comments, r=Nilstrieb
...
Fix a few doc comment for compiler-interal API docs.
They only used `//` instead of `///` so weren't picked up by rustdoc.
r? `@Nilstrieb`
2024-07-05 14:18:28 +00:00
Oneirical
b15e72a9ed
rewrite profile to rmake
2024-07-05 10:17:48 -04:00
Oneirical
a1555eb0d6
rewrite pgo-use to rmake
2024-07-05 10:17:48 -04:00
Oneirical
1e4d821136
rewrite pgo-gen to rmake
2024-07-05 10:17:46 -04:00
Alona Enraght-Moony
f763d62149
Fix a few doc comment for compiler-interal API docs.
...
They only used `//` instead of `///` so weren't picked up by rustdoc.
2024-07-05 14:14:35 +00:00
DianQK
3d699a4fa1
Update LLVM submodule
2024-07-05 22:06:57 +08:00
Oneirical
4a15fe44e3
rewrite emit-path-unhashed to rmake
2024-07-05 10:06:27 -04:00
Oneirical
f77d5d2b35
rewrite emit-shared-files to rmake
2024-07-05 10:06:27 -04:00
Guillaume Gomez
4abc51a219
Improve readability of some fmt code examples
2024-07-05 14:05:29 +02:00
bors
11dd90f761
Auto merge of #127360 - GuillaumeGomez:rollup-f0zs1qr, r=GuillaumeGomez
...
Rollup of 7 pull requests
Successful merges:
- #124290 (DependencyList: removed outdated comment)
- #126709 (Migrate `include_bytes_deps`, `optimization-remarks-dir-pgo`, `optimization-remarks-dir`, `issue-40535` and `rmeta-preferred` `run-make` tests to rmake)
- #127214 (Use the native unwind function in miri where possible)
- #127320 (Update windows-bindgen to 0.58.0)
- #127349 (Tweak `-1 as usize` suggestion)
- #127352 (coverage: Rename `mir::coverage::BranchInfo` to `CoverageInfoHi`)
- #127359 (Improve run make llvm ident code)
r? `@ghost`
`@rustbot` modify labels: rollup
2024-07-05 11:32:40 +00:00
Guillaume Gomez
4fd3b123bc
Rollup merge of #127359 - GuillaumeGomez:improve-run-make-llvm-ident-code, r=jieyouxu
...
Improve run make llvm ident code
I took the commits that are not blocking https://github.com/rust-lang/rust/pull/127237 .
r? `@Kobzol`
2024-07-05 11:33:18 +02:00
Guillaume Gomez
e4d7f7c9e6
Rollup merge of #127352 - Zalathar:coverage-info, r=oli-obk
...
coverage: Rename `mir::coverage::BranchInfo` to `CoverageInfoHi`
This opens the door to collecting and storing coverage information that is unrelated to branch coverage or MC/DC, during MIR building.
There is no change to the output of coverage instrumentation, but one deliberate change is that functions now *always* have an attached `CoverageInfoHi` (if coverage is enabled and they are eligible), even if they didn't collect any interesting branch information.
---
`@rustbot` label +A-code-coverage
2024-07-05 11:33:17 +02:00
Guillaume Gomez
6d3f2b1040
Rollup merge of #127349 - estebank:negative-unsigned-literal, r=petrochenkov
...
Tweak `-1 as usize` suggestion
When writing a negative unsigned integer literal, use a verbose suggestion and account for `as` casting.
2024-07-05 11:33:17 +02:00
Guillaume Gomez
80a9717091
Rollup merge of #127320 - ChrisDenton:win-sys, r=Mark-Simulacrum
...
Update windows-bindgen to 0.58.0
This also switches from the bespoke `std` generated bindings to the normal `sys` ones everyone else uses.
This has almost no difference except that the `sys` bindings use the `windows_targets::links!` macro for FFI imports, which we implement manually. This does cause the diff to look much larger than it really is but the bulk of the changes are mostly contained to the generated code.
2024-07-05 11:33:16 +02:00
Guillaume Gomez
7a208c72b0
Rollup merge of #127214 - bjorn3:miri_native_unwind, r=oli-obk
...
Use the native unwind function in miri where possible
Continuation of https://github.com/rust-lang/miri/pull/3319
cc `@RalfJung`
2024-07-05 11:33:15 +02:00
Guillaume Gomez
e66f4d3356
Rollup merge of #126709 - Oneirical:exitestial-crisis, r=jieyouxu
...
Migrate `include_bytes_deps`, `optimization-remarks-dir-pgo`, `optimization-remarks-dir`, `issue-40535` and `rmeta-preferred` `run-make` tests to rmake
Part of #121876 and the associated [Google Summer of Code project](https://blog.rust-lang.org/2024/05/01/gsoc-2024-selected-projects.html ).
Needs BSD tryjob.
try-job: aarch64-apple
try-job: x86_64-msvc
try-job: armhf-gnu
try-job: test-various
2024-07-05 11:33:15 +02:00
Guillaume Gomez
7a79392c82
Rollup merge of #124290 - klensy:dep-format, r=jieyouxu
...
DependencyList: removed outdated comment
Comment was outdated. Didn't updated description, as `Linkage` enum have descriptive names.
Also added fixme about moving this file to rustc_metadata.
2024-07-05 11:33:14 +02:00
Guillaume Gomez
415e202c48
Improve code of run-make/llvm-ident
test
2024-07-05 11:19:52 +02:00
bors
2ad6630673
Auto merge of #127008 - Jules-Bertholet:tc-ergonomics, r=Nadrieril
...
Match ergonomics 2024: Implement TC's match ergonomics proposal
Under gate `ref_pat_eat_one_layer_2024_structural`. Enabling `ref_pat_eat_one_layer_2024` at the same time allows the union of what the individual gates allow. `@traviscross`
r? `@Nadrieril`
cc https://github.com/rust-lang/rust/issues/123076
`@rustbot` label A-edition-2024 A-patterns
2024-07-05 09:10:17 +00:00
Guillaume Gomez
3e4368053f
Improve Command::args
API in run-make-support
2024-07-05 10:53:22 +02:00
bors
d2e6cf7fa7
Auto merge of #127344 - matthiaskrgr:morecrashes, r=jieyouxu
...
crashes: add latest
r? `@jieyouxu`
`@bors` rollup=iffy
2024-07-05 06:19:47 +00:00
Nicholas Bishop
ccd8dccfc6
Describe Sized requirements for mem::offset_of
...
The container doesn't have to be sized, but the field must be sized (at
least until https://github.com/rust-lang/rust/issues/126151 is stable).
2024-07-05 01:55:01 -04:00
Sky
90cbd0bfb4
impl FusedIterator and a size hint for the error sources iter
2024-07-04 23:55:52 -04:00
Zalathar
f96f443631
Tweak how the extra newline is printed after coverage info
2024-07-05 13:53:05 +10:00
Zalathar
f095de4bf1
coverage: Rename mir::coverage::BranchInfo
to CoverageInfoHi
...
This opens the door to collecting and storing coverage information that is
unrelated to branch coverage or MC/DC.
2024-07-05 13:53:05 +10:00
Jubilee Young
c1a29b30d1
core: erase redundant stability attrs in va_list
...
Now that VaList, et al. have a module, they only need one `#[unstable]`.
2024-07-04 20:35:03 -07:00
Jubilee Young
c147805a6a
library: outline VaList into ffi::va_list
...
and reexport
2024-07-04 20:34:37 -07:00