Repository navigation
Rollup of 5 pull requests - #166551
Rollup of 5 pull requests#166551
Conversation
Since FreeBSD/DragonFly seemingly use `int` rather than POSIX's `id_t` for their `getpriority`'s `who` parameter. We use `rustix` here, since `errno` depended on it anyway. See: - https://pubs.opengroup.org/onlinepubs/009604599/functions/getpriority.html - https://cgit.freebsd.org/src/tree/sys/sys/_types.h#n144 - rust-lang#166425 (comment)
…jorn3 rustc_symbol_mangling: use core's disambiguator for internal symbols Internal symbols incorporate the rustc version in the disambiguator to avoid linker errors when linking together multiple staticlibs containing rustc code built separately. https://github.com/rust-lang/rust/blob/1731faea0da5b4ebf881d8e53f98066c17a74711/compiler/rustc_symbol_mangling/src/lib.rs#L200-L205 However, the current logic doesn't properly avoid linker errors if you link together multiple staticlibs with the *same* rustc version but using `-Zbuild-std` and `-Cmetadata` to give the two copies of `core` different symbol names. To fix this, have internal symbols use the same disambiguator as the `core` crate, which will avoid this linker error.
…al-ice, r=Nadrieril Fix ICE on negated unsigned literal after orphan Neg impl Fixes rust-lang#165689 If someone writes `impl Neg for u8`, it's rejected by the orphan check (E0117), but typeck still uses that impl, so `-1` as a `u8` type checks fine. Then MIR building turns `-1` into a negated literal and `lit_to_mir_constant` has no case for a negated unsigned int, so it hits `bug!`. This adds an arm for that case that returns an error const through `delayed_bug`, same as the existing `LitKind::Err` arm does. So if we somehow get here without an earlier error, it still ICEs like before. Only the literal case was broken, `-x` with a non literal `x` was already fine. Added a UI test that ICEs without the fix.
…, r=clubby789 Fix FreeBSD `getpriority` difference Fixes rust-lang#166425. Since FreeBSD/DragonFly (and some BSD-likes) seemingly use `int` rather than POSIX's `id_t` for their `getpriority`'s `who` parameter. See https://cgit.freebsd.org/src/tree/sys/sys/resource.h#n189 > ```c > __BEGIN_DECLS > /* XXX 2nd arg to [gs]etpriority() should be an id_t */ > int getpriority(int, int); > ``` See also: - https://pubs.opengroup.org/onlinepubs/009604599/functions/getpriority.html - https://cgit.freebsd.org/src/tree/sys/sys/_types.h#n144 - rust-lang#166425 (comment)
Add regression test for rust-lang#152446 Closes rust-lang#152446 The ICE was fixed by the PR rust-lang#152001. This adds a regression test with the original reproduction.
…r=jieyouxu Remove llvm_enzyme frontend module, since we don't need a fallback anymore r? jieyouxu Noticed as well whne reviewing https://github.com/rust-lang/rust/pull/166196/changes#diff-3a91de5a40937a2785305f5d2231e835b31897c3df467d0ace07fb848bd0c604 Not sure if we ever got the smarter linter :D but we got rid of the other module a while ago, so now we don't need to wrap it in a module anymore.
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 62bb1f5 (parent) -> bc9132d (this PR) Test differencesShow 8 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 bc9132daa5c0be572ebb81304f6039d947298e67 --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 (bc9132d): comparison URL. Overall result: ❌ regressions - 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 1.4%)A less reliable metric. May be of interest, but not used to determine the overall result above.
CyclesThis perf run didn't have relevant results for this metric. Binary sizeThis perf run didn't have relevant results for this metric. Bootstrap: 462.136s -> 462.454s (0.07%) |
|
📌 Perf builds for each rolled up PR:
parent commit: 62bb1f5634 In the case of a perf regression, run the following command with the SHAs of each PR you suspect might be the cause: |
Successful merges:
getprioritydifference #166437 (Fix FreeBSDgetprioritydifference)assertion failed: !self.tcx.next_trait_solver_globally()#152446)r? @ghost
Create a similar rollup