Struo
← Changelog

Run custom Rust test harnesses

Set use_libtest_harness = false on a rust_test target to run its own main, including harnesses built with libtest-mimic. Struo preserves cfg(test) and test dependencies without replacing the custom entry point.

Custom harnesses must support libtest-compatible listing, filtering and result output. Existing targets continue to use the built-in Rust test harness by default.

See the rust_test reference.