Repository navigation
Rollup of 5 pull requests - #166254
Rollup of 5 pull requests#166254
Conversation
…ark-Simulacrum compiletest: Add testing for lint machinery at runtime While implementing rust-lang#157707, I noticed that we don't have 'runtime' tests for the diagnostic machinery (i.e. we test the derive macros themselves, but not their output when emitted). This introduces a new way to test this machinery. - Add `//@ aux-lint: file.rs`, which builds a lint library in `auxiliary/file.rs` - Lint libraries link with `rustc_private`, and export a `extern "C" fn register_lints(...)` - A new `compiletest-lint-driver` wraps rustc and installs the provided lints when building the test Included is a simple demo lint for example _AI Disclosure: I used an LLM to plan out the broad structure of the machinery and identify issues; all code in this PR is written by hand_
…nstable-deprecated, r=GuillaumeGomez rustdoc: add emoji icons for unstable and deprecated to search results fixes rust-lang#149943 r? @GuillaumeGomez
…bjorn3 RISC-V: enable relax target feature by default This PR adds `+relax` to the default target features for all RISC-V targets to enable emission of linker relaxations by LLVM. It does not enable "global pointer" relaxations; see rust-lang#163890 for more context and discussion on how those relaxations work. `relax` is then marked as an internal-only target feature so that it can't be modified with `-Ctarget-feature=±relax` or used with `#[cfg(target_feature = "relax")]`, `#[target_feature = "relax"]`, none of which make sense. When building wild for `riscv64gc-unknown-linux-gnu`, it reduces binary size by 1.2%. When building my work project for `riscv32i-unknown-none-elf`, it reduces binary size by 1.9%, or by 2.1% if global pointer relaxations are enabled with `--relax-gp`. This is an alternative to rust-lang#163890 which will supersede that one if merged. cc @RalfJung, @romancardenas, @bjorn3 as participants on the previous thread. r? compiler
…tation-view-variant, r=oli-obk view-types: better documentation for View variant
…, r=fmease Add rustdoc-ui tests for (some) malformed doc attributes Fixes rust-lang#146346. Which reminds me I should finish rust-lang#165187... r? @fmease
This comment has been minimized.
This comment has been minimized.
Rollup of 5 pull requests try-job: dist-various-1 try-job: dist-various-2 try-job: test-various try-job: test-x86_64-gnu-aux try-job: test-x86_64-msvc-1 try-job: test-aarch64-apple-1 try-job: test-aarch64-apple-2 try-job: test-x86_64-mingw-1 try-job: test-i686-msvc try-job: test-armhf-gnu try-job: test-x86_64-gnu-llvm-22-3 try-job: test-aarch64-msvc-2
This comment has been minimized.
This comment has been minimized.
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 560abf7 (parent) -> 5c56312 (this PR) Test differencesShow 6 test diffsStage 1
Stage 2
Additionally, 2 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 5c56312f346d7cc8209d9fc0fd660c72e6fc6950 --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 (5c56312): comparison URL. Overall result: ❌✅ regressions and improvements - 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 -2.3%, secondary 1.5%)A less reliable metric. May be of interest, but not used to determine the overall result above.
CyclesResults (secondary -0.1%)A less reliable metric. May be of interest, but not used to determine the overall result above.
Binary sizeThis perf run didn't have relevant results for this metric. Bootstrap: 460.27s -> 460.758s (0.11%) |
|
📌 Perf builds for each rolled up PR:
parent commit: 560abf7946 In the case of a perf regression, run the following command with the SHAs of each PR you suspect might be the cause: |
|
@rust-timer triage all |
Running triage with 2 benchmarksTriage only executes the benchmarks on rollup members, that were changed significantly on the rollup.
#157721 0e68070 compiletest: Add testing for lint machinery at runtimeThis perf run didn't have relevant results for the `instruction count` metric.Instruction countThis perf run didn't have relevant results for this metric. Max RSS (memory usage)This perf run didn't have relevant results for this metric. CyclesThis perf run didn't have relevant results for this metric. Binary sizeThis perf run didn't have relevant results for this metric. #153746 4f340d9 rustdoc: add emoji icons for unstable and deprecated to search resultsInstruction countOur most reliable metric. Used to determine the overall result above. However, even this metric can be noisy.
Max RSS (memory usage)This perf run didn't have relevant results for this metric. CyclesThis perf run didn't have relevant results for this metric. Binary sizeThis perf run didn't have relevant results for this metric. #164378 0fa44e9 RISC-V: enable relax target feature by defaultThis perf run didn't have relevant results for the `instruction count` metric.Instruction countThis perf run didn't have relevant results for this metric. Max RSS (memory usage)This perf run didn't have relevant results for this metric. CyclesThis perf run didn't have relevant results for this metric. Binary sizeThis perf run didn't have relevant results for this metric. #166241 36738dc view-types: better documentation for View variantThis perf run didn't have relevant results for the `instruction count` metric.Instruction countThis perf run didn't have relevant results for this metric. Max RSS (memory usage)This perf run didn't have relevant results for this metric. CyclesThis perf run didn't have relevant results for this metric. Binary sizeThis perf run didn't have relevant results for this metric. #166246 9500359 Add rustdoc-ui tests for (some) malformed doc attributesThis perf run didn't have relevant results for the `instruction count` metric.Instruction countThis perf run didn't have relevant results for this metric. Max RSS (memory usage)This perf run didn't have relevant results for this metric. CyclesThis perf run didn't have relevant results for this metric. Binary sizeThis perf run didn't have relevant results for this metric. |
Successful merges:
r? @ghost
Create a similar rollup