Rollup of 7 pull requests#157064
Conversation
and make it cover the specific difference between Windows and Unix
…r=Mark-Simulacrum file locking: clarify that double-locking is underspecified The 2nd commit fixes rust-lang#157045 by making the docs more clear.
…=GuillaumeGomez rustdoc: deterministic sorting for `doc_cfg` badges Fixes rust-lang#156391 Currently, target-exclusive `doc_cfg` badges (eg. "Available on...") reuse the order of predicates as they appear in the source code. This often buries popular targets behind niche ones and leads to inconsistent UI rendering. This PR introduces a deterministic sorting mechanism to the `Cfg` AST prior to HTML/JSON rendering. **Note for Reviewers:** To provide the best UX, I implemented a lightweight tiering heuristic (prioritizing major platforms like Linux/Apple/Windows first, followed by mobile, then BSDs, and alphabetizing the rest). However, I am completely open to tweaking these priority groupings or falling back to a different sorting logic if the team prefers. Let me know what you think!
cg_llvm: Use `LLVMDIBuilderCreateEnumeratorOfArbitraryPrecision` - Part of rust-lang#134001 - Follow-up to rust-lang#146763 --- This PR replaces our custom `LLVMRustDIBuilderCreateEnumerator` FFI binding with an equivalent LLVM-C binding to `LLVMDIBuilderCreateEnumeratorOfArbitraryPrecision`, which was introduced in LLVM 21. I have also added comments to the remaining `LLVMRustDIBuilder` functions explaining why they currently can't use an LLVM-C binding, and noted some other functions that can use LLVM-C bindings in the future.
…suggestion-144319, r=jieyouxu Suggest function-local constructors without enclosing function path Closes rust-lang#144319 This fixes a mismatched-type wrapper suggestion for constructors defined inside function-like scopes. The previous diagnostic used `def_path_str` directly, so a function-local tuple struct could be suggested as `main::Foo(false)`, even though `main` is not a module path that can name the constructor. The suggestion now prints the constructor path under rustc's existing suggestion printer mode. That mode omits path segments that cannot be written in source, while preserving real path segments such as local modules and enum names. The regression test covers: - a function-local tuple struct constructor - a function-local enum variant - a tuple struct inside a function-local module - a tuple struct inside a closure body - a tuple struct inside an inline const block
Fix missing note of escaping `{` for braces including whitespaces
Fixes rust-lang#156868
Add note of escaping `{` for braces including whitespaces
…=folkertdev Update Xtensa target data layouts to match upstream LLVM Born from rust-lang#156568 (comment). We've been using a fork to distribute compiler builds that support the Xtensa arch whilst we're upstreaming. At a certain point we received some changes on our fork, which haven't been upstreamed, which I now to believe to be a mistake - therefore I'm reverting to the upstream LLVM datalayout. r? @folkertdev
…acrum,jieyouxu Add link to RFMF Sponsors page To make the funding/sponsor link to RFMF and the Foundation's Sponsors page simpler.
This comment has been minimized.
This comment has been minimized.
Rollup of 7 pull requests try-job: dist-various-1 try-job: test-various try-job: x86_64-gnu-aux try-job: x86_64-gnu-llvm-21-3 try-job: x86_64-msvc-1 try-job: aarch64-apple try-job: x86_64-mingw-1 try-job: i686-msvc-2
This comment has been minimized.
This comment has been minimized.
|
📌 Perf builds for each rolled up PR:
previous master: b5e038d715 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 b5e038d (parent) -> 8c1d720 (this PR) Test differencesShow 262 test diffsStage 1
Stage 2
Additionally, 254 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 8c1d72083bb2b7b9df8cbbf06a57d240a007bd85 --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 (8c1d720): comparison URL. Overall result: ✅ improvements - no action needed@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 15.3%)A less reliable metric. May be of interest, but not used to determine the overall result above.
CyclesResults (primary 2.4%, secondary -2.2%)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: 512.125s -> 514.855s (0.53%) |
Successful merges:
doc_cfgbadges #156401 (rustdoc: deterministic sorting fordoc_cfgbadges)LLVMDIBuilderCreateEnumeratorOfArbitraryPrecision#156746 (cg_llvm: UseLLVMDIBuilderCreateEnumeratorOfArbitraryPrecision){for braces including whitespaces #157012 (Fix missing note of escaping{for braces including whitespaces)r? @ghost
Create a similar rollup