forked from mirrors/nixpkgs
Revert "rust-hypervisor-firmware: fix build (#257345)"
This reverts commit e97f8fecfa
.
No longer necessary since the rustc wrapper now handles --sysroot
correctly.
This commit is contained in:
parent
ca8a6d8c19
commit
1ee9f3c87c
|
@ -1,8 +1,6 @@
|
|||
{ lib
|
||||
, fetchFromGitHub
|
||||
, hostPlatform
|
||||
, cargo
|
||||
, rustc
|
||||
, lld
|
||||
}:
|
||||
|
||||
|
@ -24,12 +22,7 @@ let
|
|||
};
|
||||
};
|
||||
|
||||
# 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;
|
||||
};
|
||||
inherit (cross) rustPlatform;
|
||||
|
||||
in
|
||||
|
||||
|
|
Loading…
Reference in a new issue