criterion.rs
criterion.rs copied to clipboard
Criterion 0.4 --bench --compare error
Whenever I run --bench -- --compare --baselines, I get this error:
C:\github\any_vec> cargo bench --bench=iter -- --compare --baselines criterion_0_4,criterion_0_4
Finished bench [optimized] target(s) in 0.26s
Running benches\iter.rs (target\release\deps\iter-ad9f3b5828e8624c.exe)
thread 'main' panicked at 'Must use `Arg::allow_invalid_utf8` with `_os` lookups at `[hash: 570E2D9D9139F734]`', C:\Users\Andy\.cargo\registry\src\github.com-1ecc6299db9ec823\clap-3.2.8\src\parser\matches\arg_matches.rs:1732:13
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
error: bench failed
I assume this is something clap -related.
branch = "version-0.4", Rust 1.62(msvc), Windows 10
Hello, and thanks for the bug report.
I'm afraid I don't know anything about the --compare option. @lemmih, does this make sense to you?