From: Steve Klabnik Date: Tue, 25 Aug 2015 15:54:07 +0000 (-0400) Subject: Clarfiy that --{test,bench} select targets X-Git-Tag: archive/raspbian/0.35.0-2+rpi1~3^2^2^2^2^2^2^2~22^2~17^2~103^2 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=355e7fb81a53fbc58885f501b68e8b6239964a33;p=cargo.git Clarfiy that --{test,bench} select targets Fixes #1767 --- diff --git a/src/bin/bench.rs b/src/bin/bench.rs index a1aabb89f..e4b5cac0c 100644 --- a/src/bin/bench.rs +++ b/src/bin/bench.rs @@ -33,8 +33,8 @@ Options: --lib Benchmark only this package's library --bin NAME Benchmark only the specified binary --example NAME Benchmark only the specified example - --test NAME Benchmark only the specified test - --bench NAME Benchmark only the specified bench + --test NAME Benchmark only the specified test target + --bench NAME Benchmark only the specified bench target --no-run Compile, but don't run benchmarks -p SPEC, --package SPEC Package to run benchmarks for -j N, --jobs N The number of jobs to run in parallel diff --git a/src/bin/build.rs b/src/bin/build.rs index 577baa490..984a0e752 100644 --- a/src/bin/build.rs +++ b/src/bin/build.rs @@ -37,8 +37,8 @@ Options: --lib Build only this package's library --bin NAME Build only the specified binary --example NAME Build only the specified example - --test NAME Build only the specified test - --bench NAME Build only the specified benchmark + --test NAME Build only the specified test target + --bench NAME Build only the specified benchmark target --release Build artifacts in release mode, with optimizations --features FEATURES Space-separated list of features to also build --no-default-features Do not build the `default` feature diff --git a/src/bin/rustc.rs b/src/bin/rustc.rs index 920096c2b..8a589091a 100644 --- a/src/bin/rustc.rs +++ b/src/bin/rustc.rs @@ -38,8 +38,8 @@ Options: --lib Build only this package's library --bin NAME Build only the specified binary --example NAME Build only the specified example - --test NAME Build only the specified test - --bench NAME Build only the specified benchmark + --test NAME Build only the specified test target + --bench NAME Build only the specified benchmark target --release Build artifacts in release mode, with optimizations --features FEATURES Features to compile for the package --no-default-features Do not compile default features for the package diff --git a/src/bin/test.rs b/src/bin/test.rs index 44b6c60c8..8366a0bad 100644 --- a/src/bin/test.rs +++ b/src/bin/test.rs @@ -34,8 +34,8 @@ Options: --lib Test only this package's library --bin NAME Test only the specified binary --example NAME Test only the specified example - --test NAME Test only the specified integration test - --bench NAME Test only the specified benchmark + --test NAME Test only the specified integration test target + --bench NAME Test only the specified benchmark target --no-run Compile, but don't run tests -p SPEC, --package SPEC Package to run tests for -j N, --jobs N The number of jobs to run in parallel