-
Notifications
You must be signed in to change notification settings - Fork 14k
Rollup of 11 pull requests #149013
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 11 pull requests #149013
Conversation
Had to tweak linking options in target spec to make it work (see moturus/motor-os#46).
There is no compelling reason to use this alias instead of the full target name.
add larger test for `proc_macro` `FromStr` implementations Currently, there are only few tests that check the output of `TokenStream::from_str` and `Literal::from_str` (which is somewhat understandable as the rustc implementation just delegates these calls to the parser). In preparation for both the standalone backend (rust-lang#130856) which will probably need to reimplement this logic as well as for removing panics from these functions (rust-lang#58736), this PR adds a test which shows the various messy ways of how these functions report errors and the return values for successful parses. Followup PRs such as rust-lang#147859 will change more and more of these "diagnostic + error"s into `LexErrors`. The test structure with the extra module is used to allow reusing it later easily for the standalone backend.
…r=scottmcm Constify `ManuallyDrop::take` Feature: `const_manually_drop_take` Tracking issue: rust-lang#148773 This PR constifies `ManuallyDrop::take`.
Constify `mem::take` Feature: `const_default` (rust-lang#143894)
Error if an autodiff user does not set lto=fat Based on your feedback, I started to provide a nice error message for a lack of `lto=fat`, instead of us forcing it. In a next step, we should replace `RUSTFLAGS="-Zautodiff=Enable"` with another Cargo.toml setting, as discussed here: rust-lang#147487 (comment) As another improvement, we should also figure out why rlib builds do not properly obey the fat=lto setting. ```````@bjorn3```````
add note to `lines` docs about empty str behavior This pull request adds a short note to the documentation for `str::lines` that describes the behavior of the resulting iterator when called on an empty string. I tripped over this a few days ago because I thought (incorrectly) that the iterator would return a single line with an empty string. I don't doubt that the actual behavior (return no lines) is the correct behavior, but in the absence of explicit documentation describing it, I came to the wrong conclusion about it and maybe others will too. If this is so obvious as to be not worth including, I'm happy to withdraw the pull request! Thanks for taking a look.
Run codegen tests on a 32-bit target in PR CI wasm32-wasip1 is the wasm target used in test-various. So using it somewhere else seems like a good bet.
…up, r=jieyouxu Abi compatibility test cleanup r? `@jieyouxu` - moves `NonNull` (and some friends) into `minicore.rs` so it can be re-used. - tests the abi compatibility of a couple more targets. It's useful to have a comprehensive overview of all ABIs that rust has some amount of support for, e.g. testing for c-variadic or guaranteed tail calls (cc rust-lang#148748)
…ouxu Tweak Motor OS linker preset, fix `remote-test-server` for Motor OS Had to tweak linking options in target spec to make it work (see moturus/motor-os#46).
… r=jieyouxu compiletest: Avoid race condition in file deletion Fixes rust-lang#149003 There is a TOCTOU when multiple threads attempt to delete the same file. Instead of pre-checking if the file exists, we can simply ignore `NotFound` errors.
…ouxu triagebot: remove jsha from notifications for rustdoc HTML See rust-lang/team#2083 - I'm moving to alumni status for rustdoc and no longer need these notifications.
compiletest: Remove the "wasm32-bare" alias for `wasm32-unknown-unknown` - Follow-up to rust-lang#148969 This "wasm32-bare" alias, understood by compiletest's `//@ ignore-wasm32-bare` and `//@ only-wasm32-bare` directives, dates all the way back to the original introduction of the `wasm32-unknown-unknown` target in rust-lang#45905. But there is no compelling reason to use an alias instead of the full target name. r? jieyouxu
|
☀️ Test successful - checks-actions |
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 89fe961 (parent) -> cc328c1 (this PR) Test differencesShow 1394 test diffsStage 1
Stage 2
(and 886 additional test diffs) Additionally, 408 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 cc328c12382f05d8ddf6ffc8139deb7985270ad8 --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 |
|
📌 Perf builds for each rolled up PR:
previous master: 89fe96197d In the case of a perf regression, run the following command for each PR you suspect might be the cause: |
|
Finished benchmarking commit (cc328c1): 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 (secondary -0.5%)A less reliable metric. May be of interest, but not used to determine the overall result above.
CyclesResults (secondary -3.3%)A less reliable metric. May be of interest, but not used to determine the overall result above.
Binary sizeThis benchmark run did not return any relevant results for this metric. Bootstrap: 476.458s -> 474.713s (-0.37%) |
Successful merges:
proc_macroFromStrimplementations #148505 (add larger test forproc_macroFromStrimplementations)ManuallyDrop::take#148752 (ConstifyManuallyDrop::take)mem::take#148757 (Constifymem::take)linesdocs about empty str behavior #148912 (add note tolinesdocs about empty str behavior)remote-test-serverfor Motor OS #148999 (Tweak Motor OS linker preset, fixremote-test-serverfor Motor OS)wasm32-unknown-unknown#149010 (compiletest: Remove the "wasm32-bare" alias forwasm32-unknown-unknown)r? @ghost
@rustbot modify labels: rollup
Create a similar rollup