rust-hypervisor-firmware: fix build (#257345)
Co-authored-by: Yureka <yuka@yuka.dev>
This commit is contained in:
parent
0019463360
commit
e97f8fecfa
1 changed files with 8 additions and 2 deletions
|
@ -1,8 +1,9 @@
|
|||
{ lib
|
||||
, fetchFromGitHub
|
||||
, makeRustPlatform
|
||||
, hostPlatform
|
||||
, targetPlatform
|
||||
, cargo
|
||||
, rustc
|
||||
, lld
|
||||
}:
|
||||
|
||||
|
@ -24,7 +25,12 @@ let
|
|||
};
|
||||
};
|
||||
|
||||
inherit (cross) rustPlatform;
|
||||
# inherit (cross) rustPlatform;
|
||||
# ^ breaks because we are doing a no_std embedded build with a custom sysroot,
|
||||
# but the fast_cross rustc wrapper already passes a sysroot argument
|
||||
rustPlatform = cross.makeRustPlatform {
|
||||
inherit rustc cargo;
|
||||
};
|
||||
|
||||
in
|
||||
|
||||
|
|
Loading…
Reference in a new issue