Skip to content

Rollup of 3 pull requests#152031

Closed
jhpratt wants to merge 7 commits intorust-lang:mainfrom
jhpratt:rollup-S6AcHAG
Closed

Rollup of 3 pull requests#152031
jhpratt wants to merge 7 commits intorust-lang:mainfrom
jhpratt:rollup-S6AcHAG

Conversation

@jhpratt
Copy link
Member

@jhpratt jhpratt commented Feb 3, 2026

Successful merges:

r? @ghost

Create a similar rollup

JayanAXHF and others added 7 commits February 1, 2026 00:22
…r-dynamic`

Since it does not make sense to do so. If someone prefers no dynamic
stuff, the last thing they want to look for is an `.so` file. Also add a
regression test. Without the fix, the test fails with:

    error: test compilation failed although it shouldn't!
    --- stderr -------------------------------
    error: extern location for no_prefer_dynamic_lib does not exist: .../auxiliary/libno_prefer_dynamic_lib.so
      --> .../no-prefer-dynamic-means-no-so.rs:9:5
       |
    LL |     no_prefer_dynamic_lib::return_42();
       |     ^^^^^^^^^^^^^^^^^^^^^
…mic-v2, r=jdonszelmann

compiletest: Don't assume `aux-crate` becomes a `*.so` with `no-prefer-dynamic`

Since it does not make sense to do so. If someone prefers no dynamic stuff, the last thing they want to look for is an .so file. Also add a regression test. Without the fix, the test fails with:

    error: test compilation failed although it shouldn't!
    --- stderr -------------------------------
    error: extern location for no_prefer_dynamic_lib does not exist: .../auxiliary/libno_prefer_dynamic_lib.so
      --> .../no-prefer-dynamic-means-no-so.rs:9:5
       |
    LL |     no_prefer_dynamic_lib::return_42();
       |     ^^^^^^^^^^^^^^^^^^^^^

### Needed by:
-  rust-lang#150591 because of rust-lang#151271. But IMHO this PR makes sense on its own.

### Must wait for:
- [x] rust-lang#151695
…hercote

fix: Make `--color always` always print color

Fixes rust-lang#151643.

This changes the behaviour of `handle_explain` in `rustc_driver_impl` to always output color when the `--color always` flag is set.

r? @tgross35
…r=jdonszelmann

Convert to inline diagnostics in `rustc_driver_impl`

Converts a crate for rust-lang#151366
This PR is almost completely autogenerated by a hacky script I have locally :)
@rust-bors rust-bors bot added the rollup A PR which is a rollup label Feb 3, 2026
@rustbot rustbot added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Feb 3, 2026
@jhpratt
Copy link
Member Author

jhpratt commented Feb 3, 2026

@bors r+ rollup=never p=5

@rust-bors
Copy link
Contributor

rust-bors bot commented Feb 3, 2026

📌 Commit 242b079 has been approved by jhpratt

It is now in the queue for this repository.

@rust-bors rust-bors bot added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Feb 3, 2026
@jhpratt
Copy link
Member Author

jhpratt commented Feb 3, 2026

closing for a larger rollup

@jhpratt jhpratt closed this Feb 3, 2026
@jhpratt jhpratt deleted the rollup-S6AcHAG branch February 3, 2026 09:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

rollup A PR which is a rollup S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants