Open TomAFrench opened 3 hours ago
We currently do a lot of codegen in build.rs using the contents of test_programs, this results in us poisoning the build cache due to ACIR build artifacts.
test_programs
One alternative is to use a custom test harness such as https://github.com/LukasKalbertodt/libtest-mimic/blob/master/examples/tidy.rs (this is nextest compatible. We can then have the test harness be responsible for reading all of the test_program files and allow build.rs to just ignore this directory in future.
test_program
build.rs
Also worth looking at https://github.com/nextest-rs/datatest-stable
We currently do a lot of codegen in build.rs using the contents of
test_programs
, this results in us poisoning the build cache due to ACIR build artifacts.One alternative is to use a custom test harness such as https://github.com/LukasKalbertodt/libtest-mimic/blob/master/examples/tidy.rs (this is nextest compatible. We can then have the test harness be responsible for reading all of the
test_program
files and allowbuild.rs
to just ignore this directory in future.