Skip to content

Conversation

@csnover
Copy link
Contributor

@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.
@kevinmehall
Copy link
Owner

Merged most of this as 8367f69...830ba4f, but decided to use prettyplease instead of the double rustfmt for better formatting of the deeply nested generated code, and just went ahead and bumped the MSRV to 1.82 now that it's a year old instead of needing to continue splitting that test out.

Thanks!

@kevinmehall kevinmehall closed this Nov 2, 2025
@csnover
Copy link
Contributor Author

csnover commented Nov 2, 2025

Sounds good, thanks! I hope to return to the other PR to make the required changes as soon as I can.

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.

2 participants