⎇ devin/1785205225-fix-grid-track-limit-overflow
benches/dummy_benchmark.rs
Historia
Quién tocó qué
crudo
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}