default.nix: run tests
This commit is contained in:
parent
e1af02f77a
commit
86b5841119
|
@ -53,7 +53,9 @@ let
|
||||||
];
|
];
|
||||||
"CC_${target}" = "${gcc}/bin/armv7l-unknown-linux-gnueabihf-gcc";
|
"CC_${target}" = "${gcc}/bin/armv7l-unknown-linux-gnueabihf-gcc";
|
||||||
RUST_COMPILER_RT_ROOT = "${rustcSrc}/src/llvm-project/compiler-rt";
|
RUST_COMPILER_RT_ROOT = "${rustcSrc}/src/llvm-project/compiler-rt";
|
||||||
doCheck = false;
|
checkPhase = ''
|
||||||
|
cargo test --target=${hostPlatform.config}
|
||||||
|
'';
|
||||||
};
|
};
|
||||||
in {
|
in {
|
||||||
inherit pkgs rustPlatform rustcSrc gcc firmware;
|
inherit pkgs rustPlatform rustcSrc gcc firmware;
|
||||||
|
|
Loading…
Reference in New Issue