Rollup of 5 pull requests#157433
Conversation
fix -s to -S in llvm tooling instructiongs
…0505-stage Fix name of first compiled stage, as stage0 is downloaded
Replace `rustc_session::parse::feature*` with ``rustc_session::errors::feature*`
Update dependencies to remove windows-targets dependency
Autodiff doc updates
autodiff: reference rustup installation support
This updates the rust-version file to a31c27a.
Pull recent changes from https://github.com/rust-lang/rust via Josh. Upstream ref: rust-lang/rust@a31c27a Filtered ref: rust-lang/rustc-dev-guide@66a2aa8 Upstream diff: rust-lang/rust@f2b291d...a31c27a This merge was created using https://github.com/rust-lang/josh-sync.
…c-pull Rustc pull update
Fix sample code for std::offload at usage.md
Clarify importance of `target-cpu` flag for offload
Added note about stage2 dependency in rustup toolchain linking.
Added a note about building tools and linked to tool tests section.
Add note on building tools in how-to-build-and-run.md
Add docs for non defining vs defining uses in opaque types
Co-authored-by: jyn <github@jyn.dev>
Update quickstart.md with stage2 note
…y789,jieyouxu Record failed tests with `--record`, and rerun them with `--rerun` This adds two parameters to `x test`: ## `--record` Writes a file, by default `build/failed-tests`, but this can be overwritten with ```toml [build] record_failed_tests_path = "somepath" ``` with a list of all tests that fail that run. ## `--rerun` Looks for the failed-tests file, parse it, and attempt to rerun only those tests. No cli-arguments are necessary, i.e. ``` x test tests/ui --record x test --rerun ``` Will run all failed uitests. No need to pass tests/ui to the rerun invocation. The last commit is a little awkward, but I think it's the best way to make it so that we *first* run all tests that have to be rerun, and *then* rerun tests passed through the cli. This makes it so: ``` x test tests/ui --rerun ``` will *first* rerun failed tests, some of which may be uitests, if any fail it quits and reports failed tests, but if all pass it will run all normally passed tests. In other words, only if all previously-failed tests pass on the rerun, we then also run uitests. Without the last commit, this would instead just run all uitests, since the failed tests form a subset of all uitests. I think that's less useful.
…ve, r=petrochenkov delegation: split resolution and lowering This PR splits delegation's AST -> HIR lowering and its resolution. Now we resolve all delegations and then lower them. This should have benefits: - ~For rust-lang#156798, where it will be convenient to insert diagnostics about specifying target expressions for glob reuses of only static functions (the `delegations_resolutions` map will contain information whether to lower or delete target expression)~ - For rust-lang#155337 and delegations to inherent methods resolution, as from what I tested up until now we should resolve them in iterative manner before AST -> HIR lowering. Part of rust-lang#118212. r? @petrochenkov
…llot Fix a coroutine UI test which is missing `#[coroutine]` This looks like a typo, although the test now produces a different error to the other errors in the file. I also fixed some comment typos in tests, happy to drop that commit if you don't want to review it.
…u32, r=nikic tests: codegen-llvm: Update bpf-alu32 with the new LLVM attributes The LLVM backend now emits `noundef zeroext` on `i8` return values and `noundef` on `i8` parameters. Update the FileCheck pattern to match. r? @nagisa
rustc-dev-guide subtree update Subtree update of `rustc-dev-guide` to rust-lang/rustc-dev-guide@e99720b. Created using https://github.com/rust-lang/josh-sync. r? @ghost
|
@bors r+ rollup=never p=5 |
This comment has been minimized.
This comment has been minimized.
|
📌 Perf builds for each rolled up PR:
previous master: 9ae765da47 In the case of a perf regression, run the following command for each PR you suspect might be the cause: |
What is this?This is an experimental post-merge analysis report that shows differences in test outcomes between the merged PR and its parent PR.Comparing 9ae765d (parent) -> b3f7e32 (this PR) Test differencesShow 68 test diffsStage 1
Stage 2
Additionally, 66 doctest diffs were found. These are ignored, as they are noisy. Job group index
Test dashboardRun cargo run --manifest-path src/ci/citool/Cargo.toml -- \
test-dashboard b3f7e3204640c7458c9f5096f3e9c5ad9971a51c --output-dir test-dashboardAnd then open Job duration changes
How to interpret the job duration changes?Job durations can vary a lot, based on the actual runner instance |
|
Finished benchmarking commit (b3f7e32): comparison URL. Overall result: ❌ regressions - please read:Our benchmarks found a performance regression caused by this PR. Next Steps:
@rustbot label: +perf-regression Instruction countOur most reliable metric. Used to determine the overall result above. However, even this metric can be noisy.
Max RSS (memory usage)Results (primary 6.5%, secondary 2.3%)A less reliable metric. May be of interest, but not used to determine the overall result above.
CyclesResults (secondary -2.4%)A less reliable metric. May be of interest, but not used to determine the overall result above.
Binary sizeResults (primary 0.0%, secondary 0.0%)A less reliable metric. May be of interest, but not used to determine the overall result above.
Bootstrap: 515.26s -> 512.944s (-0.45%) |
|
@rustbot label: +perf-regression-triaged |
Successful merges:
--record, and rerun them with--rerun#154586 (Record failed tests with--record, and rerun them with--rerun)#[coroutine]#156171 (Fix a coroutine UI test which is missing#[coroutine])r? @ghost
Create a similar rollup