Skip to content

Conversation

@bjorn3
Copy link
Member

@bjorn3 bjorn3 commented Dec 2, 2025

This reduces check times for miri from 2m15s to 20s. And reduces check times for miri with --compile-time-deps from 1m50s to 7s. This makes rust-analyzer start a lot faster after switching branches.

r? @RalfJung

This reduces check times for miri from 2m15s to 20s. And reduces check
times for miri with --compile-time-deps from 1m50s to 7s. This makes
rust-analyzer start a lot faster after switching branches.
@rustbot rustbot added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-bootstrap Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap) labels Dec 2, 2025
@Kobzol
Copy link
Member

Kobzol commented Dec 2, 2025

Thanks! The genmc-sys things being built for Miri were super slow. You can r=me once PR CI passes.

@rust-log-analyzer
Copy link
Collaborator

The job pr-check-2 failed! Check out the build log: (web) (plain enhanced) (plain)

Click to see the possible cause of the failure (guessed by this bot)

@RalfJung
Copy link
Member

RalfJung commented Dec 2, 2025

genmc-sys is off-by-default, this is different.

However, I'm not super happy about this as it means the native-lib code doesn't get checked, and sometimes one has to work on that code. Ideally we'd still check it, we'd just skip building the C dependency. libffi-sys has a feature for that since libffi-rs/libffi-rs#166, could we make use of that? capstone-sys has a similar feature.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-bootstrap Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants