-
Notifications
You must be signed in to change notification settings - Fork 13.3k
Rollup of 4 pull requests #141238
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Rollup of 4 pull requests #141238
Conversation
- update pretty printing tests - only add generic parameters when function is actually generic (no empty turbofish)
Ensure that code for generic `d_primal::<T>` is generated even if `primal::<T>` is never used. - incorporate feedback from @ZuseZ4
…tation Signed-off-by: xizheyin <[email protected]>
…seZ4 fix autodiff macro on generic functions heloo there! This short PR allows applying the `autodiff` macro to generic functions like this one. It only touches the frontend part, since the `rustc_autodiff` macro can already handle generics. ```rust #[autodiff(d_square, Reverse, Duplicated, Active)] fn square<T: std::ops::Mul<Output = T> + Copy>(x: &T) -> T { *x * *x } ``` Thanks to Manuel for creating an issue on this. For more information on this see rust-lang#140032 r? `@ZuseZ4` As always: thanks for any piece of feedback!! Fixes: rust-lang#140032 Tracking issue for autodiff: rust-lang#124509
make `rustc_attr_parsing` less dominant in the rustc crate graph It has/had a glob re-export of `rustc_attr_data_structures`, which is a crate much lower in the graph, and a lot of crates were using it *just* (or *mostly*) for that re-export, while they can rely on `rustc_attr_data_structures` directly. Previous graph:  Graph with this PR:  The first commit keeps the re-export, and just changes the dependency if possible. The second commit is the "breaking change" which removes the re-export, and "explicitly" adds the `rustc_attr_data_structures` dependency where needed. It also switches over some src/tools/*. The second commit is actually a lot more involved than I expected. Please let me know if it's a better idea to back it out and just keep the first commit.
add regression test for rust-lang#101650 closes rust-lang#101650, which was already fixed.
…bilee [std] fix the presentation of `split_off_mut` and `split_off` documentation Fixes rust-lang#141107 r? libs
@bors r+ rollup=never p=5 |
☀️ Test successful - checks-actions |
📌 Perf builds for each rolled up PR:
previous master: e42bbfe1f7 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 e42bbfe (parent) -> 5f292ee (this PR) Test differencesShow 16 test diffsStage 1
Stage 2
Additionally, 12 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 5f292eea6d63abbd26f1e6e00a0b8cf21d828d7d --output-dir test-dashboard And 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 (5f292ee): comparison URL. Overall result: ✅ improvements - no action needed@rustbot label: -perf-regression Instruction countThis is the most reliable metric that we have; it was used to determine the overall result at the top of this comment. However, even this metric can sometimes exhibit noise.
Max RSS (memory usage)Results (secondary 0.9%)This is a less reliable metric that may be of interest but was not used to determine the overall result at the top of this comment.
CyclesResults (secondary 0.6%)This is a less reliable metric that may be of interest but was not used to determine the overall result at the top of this comment.
Binary sizeThis benchmark run did not return any relevant results for this metric. Bootstrap: 774.961s -> 775.359s (0.05%) |
Successful merges:
rustc_attr_parsing
less dominant in the rustc crate graph #140874 (makerustc_attr_parsing
less dominant in the rustc crate graph)split_off_mut
andsplit_off
documentation #141110 ([std] fix the presentation ofsplit_off_mut
andsplit_off
documentation)r? @ghost
@rustbot modify labels: rollup
Create a similar rollup