From f43602df2bd5cf401b2054998c6f12d422155a45 Mon Sep 17 00:00:00 2001 From: kdtie <59813592+nutthawit@users.noreply.github.com> Date: Tue, 30 Dec 2025 12:54:43 +0700 Subject: [PATCH] DEVELOPMENT.md: mention nightly requirement for code coverage (#9919) --- DEVELOPMENT.md | 1 + 1 file changed, 1 insertion(+) diff --git a/DEVELOPMENT.md b/DEVELOPMENT.md index 4f885e085..35291369c 100644 --- a/DEVELOPMENT.md +++ b/DEVELOPMENT.md @@ -262,6 +262,7 @@ To generate [gcov-based](https://github.com/mozilla/grcov#example-how-to-generat export CARGO_INCREMENTAL=0 export RUSTFLAGS="-Cinstrument-coverage -Ccodegen-units=1 -Copt-level=0 -Clink-dead-code -Coverflow-checks=off -Zpanic_abort_tests -Cpanic=abort" export RUSTDOCFLAGS="-Cpanic=abort" +export RUSTUP_TOOLCHAIN="nightly" cargo build # e.g., --features feat_os_unix cargo test # e.g., --features feat_os_unix test_pathchk 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/