run unit-test in build scripts #9942
Labels
A-build-scripts
Area: build.rs scripts
C-feature-request
Category: proposal for a feature. Before PR, ping rust-lang/cargo if this is not `Feature accepted`
Command-test
S-triage
Status: This issue is waiting on initial triage.
Describe the problem you are trying to solve
I have quite complex build scripts that require some unit-testing.
Describe the solution you'd like
I'd like
cargo test
to also run#[test]
defined in build script files.The text was updated successfully, but these errors were encountered: