Skip to content

Commit 4a5e03e

Browse files
nutthawitsgmarz
authored andcommitted
DEVELOPMENT.md: mention nightly requirement for code coverage (uutils#9919)
1 parent 46c9312 commit 4a5e03e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

DEVELOPMENT.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -262,6 +262,7 @@ To generate [gcov-based](https://github.com/mozilla/grcov#example-how-to-generat
262262
export CARGO_INCREMENTAL=0
263263
export RUSTFLAGS="-Cinstrument-coverage -Ccodegen-units=1 -Copt-level=0 -Clink-dead-code -Coverflow-checks=off -Zpanic_abort_tests -Cpanic=abort"
264264
export RUSTDOCFLAGS="-Cpanic=abort"
265+
export RUSTUP_TOOLCHAIN="nightly"
265266
cargo build <options...> # e.g., --features feat_os_unix
266267
cargo test <options...> # e.g., --features feat_os_unix test_pathchk
267268
grcov . -s . --binary-path ./target/debug/ -t html --branch --ignore-not-existing --ignore build.rs --excl-br-line "^\s*((debug_)?assert(_eq|_ne)?\#\[derive\()" -o ./target/debug/coverage/

0 commit comments

Comments
 (0)