Commit graph

2 commits

Author SHA1 Message Date
Eric Huss
e38b55d0b7 Don't use default build-script fingerprinting in test
This changes the `test` build script so that it does not use the default
fingerprinting mechanism in cargo which causes a full scan of the
package every time it runs. This build script does not depend on any of
the files in the package.

This is the recommended approach for writing build scripts.
2026-01-23 11:10:53 -08:00
Adam Gemmell
dae8ea92a7 Configure test's unstable feature gate when built outside of bootstrap
This uses a build probe to figure out the current toolchain version -
the only alternative to this is bespoke logic in Cargo to tell `test`
when the toolchain is stable/unstable.

The behaviour should be the same as when using
`CFG_DISABLE_UNSTABLE_FEATURES` unless an arbitrary channel is provided
to bootstrap, which I believe necessitates a fork anyway.
2026-01-20 16:51:41 +00:00