commit 2a793072d889caef3b3dd2152bf2097061b3e410
parent 0491fc9858a319728b731bfe68afe32dc528801b
Author: triesap <tyson@radroots.org>
Date: Fri, 3 Jul 2026 07:38:25 +0000
nix: check all rr-rs targets
- run the check app through workspace all-target coverage
- align the flake cargo-check derivation with the app command
- keep the contract and release-preflight lanes unchanged
- validate cargo format, cargo check, and nix check app execution
Diffstat:
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/build/nix/checks.nix b/build/nix/checks.nix
@@ -8,7 +8,7 @@ let
pname = "radroots-cargo-check";
doCheck = false;
buildPhaseCargoCommand = ''
- cargo check ${common.coreContractCargoArgs}
+ cargo check --workspace --all-targets
'';
installPhaseCommand = "mkdir -p $out";
}
diff --git a/build/nix/common.nix b/build/nix/common.nix
@@ -170,7 +170,7 @@ let
export RADROOTS_WORKSPACE_ROOT="$PWD"
'';
checkCommand = ''
- cargo check --workspace
+ cargo check --workspace --all-targets
'';
contractCommand = ''
cargo run -q -p xtask -- hygiene forbidden-identifiers