rust-hypervisor-firmware: check if path exists

This commit is contained in:
Weijia Wang 2023-03-29 12:06:21 +03:00
parent 6ca1fd3038
commit 6534a3aeaa

View file

@ -11,6 +11,11 @@ let
target = ./. + "/${arch}-unknown-none.json";
in
assert lib.assertMsg (builtins.pathExists target) "Target spec not found";
let
cross = import ../../../.. {
system = hostPlatform.system;
crossSystem = lib.systems.examples."${arch}-embedded" // {