rust-lang / cc-rs

Rust library for build scripts to compile C/C++ code into a Rust library
https://docs.rs/cc
Apache License 2.0
1.81k stars 436 forks source link

Tests are not included in published crate #1192

Open jamessan opened 3 weeks ago

jamessan commented 3 weeks ago

Since https://github.com/rust-lang/cc-rs/pull/934, the tests are no longer included in the crate. However, some distributors (like Debian) create their packages from the crate rather than the git repo. This means Debian can no longer easily run the crate's tests to validate updates of the package.

Could the tests please be restored to the crate?

NobodyXu commented 2 weeks ago

Yes, however note that many tests sit in an unpublished workspace https://github.com/rust-lang/cc-rs/tree/main/dev-tools/cc-test

so if you'd like to test it, we would also have to publish cc-test as well