Unverified Commit e97f8fec authored by Astro's avatar Astro Committed by GitHub
Browse files

rust-hypervisor-firmware: fix build (#257345)



Co-authored-by: default avatarYureka <yuka@yuka.dev>
parent 00194633
Loading
Loading
Loading
Loading
+8 −2
Original line number Diff line number Diff line
{ 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