rust.lib: enable planned deprecation warnings
This commit is contained in:
@@ -80,8 +80,7 @@ rec {
|
||||
'';
|
||||
};
|
||||
} // lib.mapAttrs (old: new: platform:
|
||||
# TODO: enable warning after 23.05 is EOL.
|
||||
# lib.warn "`rust.${old} platform` is deprecated. Use `platform.rust.${new}` instead."
|
||||
lib.warn "`rust.${old} platform` is deprecated. Use `platform.rust.${new}` instead."
|
||||
lib.getAttrFromPath new platform.rust)
|
||||
{
|
||||
toTargetArch = [ "platform" "arch" ];
|
||||
|
||||
Reference in New Issue
Block a user