rust 1.41: Fix build with no_std only target
See https://github.com/rust-lang/rust/pull/69381
This commit is contained in:
@@ -4,6 +4,7 @@
|
||||
, bootstrapVersion
|
||||
, bootstrapHashes
|
||||
, selectRustPackage
|
||||
, rustcPatches ? []
|
||||
}:
|
||||
{ stdenv, lib
|
||||
, buildPackages
|
||||
@@ -73,6 +74,8 @@
|
||||
sha256 = rustcSha256;
|
||||
inherit enableRustcDev;
|
||||
|
||||
patches = rustcPatches;
|
||||
|
||||
# Use boot package set to break cycle
|
||||
rustPlatform = bootRustPlatform;
|
||||
} // lib.optionalAttrs (stdenv.cc.isClang && stdenv.hostPlatform == stdenv.buildPlatform) {
|
||||
|
||||
Reference in New Issue
Block a user