From b425d17b3e7c12400810dcb8b997c5ea05cf68e0 Mon Sep 17 00:00:00 2001 From: kazuhiko kikuchi Date: Thu, 12 May 2022 20:22:00 +0900 Subject: [PATCH] fix bench command line options (#1685) fix to criterion bench not accepts options ``` error: Unrecognized option: 'save-baseline' error: bench failed ``` https://github.com/bheisler/criterion.rs/issues/193#issuecomment-415740713 --- arrow/Cargo.toml | 1 + parquet/Cargo.toml | 3 +++ 2 files changed, 4 insertions(+) diff --git a/arrow/Cargo.toml b/arrow/Cargo.toml index 604e64a8fc78..ab17ab087b3e 100644 --- a/arrow/Cargo.toml +++ b/arrow/Cargo.toml @@ -35,6 +35,7 @@ rust-version = "1.57" [lib] name = "arrow" path = "src/lib.rs" +bench = false [dependencies] serde = { version = "1.0" } diff --git a/parquet/Cargo.toml b/parquet/Cargo.toml index 94ed8bbc3680..5007829c756e 100644 --- a/parquet/Cargo.toml +++ b/parquet/Cargo.toml @@ -90,3 +90,6 @@ harness = false name = "arrow_reader" required-features = ["test_common", "experimental"] harness = false + +[lib] +bench = false