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"