mcu: add missing attributes on rustc

This commit is contained in:
Sebastien Bourdeauducq 2024-12-04 22:52:47 +08:00
parent 193a65b154
commit 7b915dbbca

View File

@ -20,7 +20,12 @@ let
}; };
rust = rustChannelOfTargets "nightly" null targets; rust = rustChannelOfTargets "nightly" null targets;
rustPlatform = pkgs.recurseIntoAttrs (pkgs.makeRustPlatform { rustPlatform = pkgs.recurseIntoAttrs (pkgs.makeRustPlatform {
rustc = rust; rustc = rust // {
# https://github.com/oxalica/rust-overlay/commit/c48c2d76b68dd9ede0815fec53479375c61af857
targetPlatforms = pkgs.lib.platforms.all;
tier1TargetPlatforms = pkgs.lib.platforms.all;
badTargetPlatforms = [ ];
};
cargo = rust; cargo = rust;
}); });