From c886b72dab918d6f4d3be025135f769bc429cc79 Mon Sep 17 00:00:00 2001 From: Bernardo Date: Sat, 22 Dec 2018 22:11:10 +0100 Subject: make criterion args work, small simplification --- crates/ra_editor/Cargo.toml | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'crates/ra_editor/Cargo.toml') diff --git a/crates/ra_editor/Cargo.toml b/crates/ra_editor/Cargo.toml index 039688d7d..7ed7526ec 100644 --- a/crates/ra_editor/Cargo.toml +++ b/crates/ra_editor/Cargo.toml @@ -23,6 +23,10 @@ rand = "*" rand_xorshift = "*" lazy_static = "*" +[lib] +# so that criterion arguments work, see: https://bheisler.github.io/criterion.rs/book/faq.html#cargo-bench-gives-unrecognized-option-errors-for-valid-command-line-options +bench = false + [[bench]] name = "translate_offset_with_edit_benchmark" harness = false \ No newline at end of file -- cgit v1.2.3