⎇ 2b5366e4296fc2a5d84bfd8bc6967939a815c154
benches/dummy_benchmark.rs
Ñawpa willay
Pi imata llamkarqan
ch'uya
Move benchmarks into their own crate (#451)
1//! This "benchmark" exists solely to provide a nicer error message for users running "cargo bench"
2//! from the root of the repo. The correct way to run benchmarks is to run "cargo bench" from this
3//! benches directory
4
5fn main() {
6 eprintln!();
7 eprintln!("Error: Taffy's benchmarks are contained in a separate crate");
8 eprintln!("Please run 'cargo bench' from within the 'benches' directory, or use the alias 'cargo xbench'");
9 eprintln!();
10 std::process::exit(1);
11}