rust.lib: enable planned deprecation warnings

This commit is contained in:
Alyssa Ross
2024-09-02 21:48:21 +02:00
parent ca4ecee93b
commit 459e958661
+1 -2
View File
@@ -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" ];