nextest-rs / nextest

A next-generation test runner for Rust.
https://nexte.st
Apache License 2.0
2.03k stars 90 forks source link

Consider conditions to not include libstd in archives #1515

Open sunshowers opened 1 month ago

sunshowers commented 1 month ago

With cargo-nextest 0.9.71, we now include libstd unconditionally in archives. This is done for two reasons:

As of Rust 1.78, this makes archives:

This doesn't seem to be hugely relevant especially compared to the size of Rust test binaries themselves, but if this is a problem for you, please post in this issue.

I don't plan to work on fixing this, but one way we could address this is by adding config knobs. If this impacts you, thoughts on how to configure this, as well as concrete contributions in the form of PRs, would be welcome.