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:
Alyssa Ross 2023-12-17 18:31:20 +01:00
parent ca8a6d8c19
commit 1ee9f3c87c

View File

@ -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