Conditional compilation for benchmarks

External tests/ and benches/ always get a non-test version of the library.

cfg(test) takes effect only for tests in the library itself.

1 Like