From fc78e3fed20922b5cd552e932e8804e2a13fd450 Mon Sep 17 00:00:00 2001 From: Mr-Leshiy Date: Mon, 15 Jan 2024 11:52:52 +0200 Subject: [PATCH] add with_bench flag --- docs/src/guides/languages/rust.md | 1 + examples/rust/Earthfile | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/src/guides/languages/rust.md b/docs/src/guides/languages/rust.md index c0d9d8f11..288a2d854 100644 --- a/docs/src/guides/languages/rust.md +++ b/docs/src/guides/languages/rust.md @@ -131,6 +131,7 @@ build: TRY RUN /scripts/std_build.py --build_flags="" \ --with_test \ + --with_bench \ --cov_report="coverage-report.info" \ --libs="bar" \ --bins="foo/foo" diff --git a/examples/rust/Earthfile b/examples/rust/Earthfile index 497f3d63e..08ee3defd 100644 --- a/examples/rust/Earthfile +++ b/examples/rust/Earthfile @@ -35,10 +35,10 @@ all-hosts-check: build: FROM +builder - RUN /scripts/std_build.py --help TRY RUN /scripts/std_build.py --build_flags="" \ --with_test \ + --with_bench \ --cov_report="coverage-report.info" \ --libs="bar" \ --bins="foo/foo"