You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@arrow.apache.org by al...@apache.org on 2022/05/12 11:22:05 UTC

[arrow-rs] branch master updated: fix bench command line options (#1685)

This is an automated email from the ASF dual-hosted git repository.

alamb pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/arrow-rs.git


The following commit(s) were added to refs/heads/master by this push:
     new b425d17b3 fix bench command line options (#1685)
b425d17b3 is described below

commit b425d17b3e7c12400810dcb8b997c5ea05cf68e0
Author: kazuhiko kikuchi <ka...@kazuk.jp>
AuthorDate: Thu May 12 20:22:00 2022 +0900

    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 604e64a8f..ab17ab087 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 94ed8bbc3..5007829c7 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