Skip to content

Conversation

@csnover
Copy link

@csnover csnover commented Oct 18, 2025

This patch set includes just basic maintenance stuff, no functional changes:

  • Ensure Cargo workspace properties are shared so are consistent across all the packages;
  • Fix new clippy lints
  • Reduce test runtimes from 8s to 0.7s by using trybuild only for compile fail tests

There are a few of them, do not know which one it is, do not care
to spend more time figuring out exactly which one it is, since this
stole over an hour of my life.
This prevents inconsistencies, like only having an MSRV on one
of the packages.
trybuild is VERY SLOW and it hides the test content from tooling
(clippy, fmt, rust-analyzer, etc.). These tests must compile and
pass so there is no reason to run them through trybuild.

This change reduces test run time from 8.7s seconds to 0.7s.

The recent-rustc tests are still run through trybuild even though
they do not need to be simply because this avoids adding a build.rs
and build dependency for versioning. Once the MSRV is increased
this can also just go away.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant