]> git.proxmox.com Git - perlmod.git/commitdiff
perlmod, macro: add add perlmod=multiplicity as expected lint
authorWolfgang Bumiller <w.bumiller@proxmox.com>
Tue, 30 Jul 2024 13:36:42 +0000 (15:36 +0200)
committerWolfgang Bumiller <w.bumiller@proxmox.com>
Tue, 30 Jul 2024 13:36:42 +0000 (15:36 +0200)
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
perlmod-macro/Cargo.toml
perlmod/Cargo.toml

index d00571b65f1fbcfbba4ff69575fb836f021f61d7..b9b8ad211cf065a7eaf613d93e4d4040da01552d 100644 (file)
@@ -15,6 +15,9 @@ exclude = [ "debian" ]
 [badges]
 maintenance = { status = "experimental" }
 
+[lints.rust]
+unexpected_cfgs = { level = "warn", check-cfg = [ 'cfg(perlmod, values("multiplicity"))' ] }
+
 [lib]
 proc-macro = true
 
index 9d1d843fc4a5dd3f5e4371d444ade2eb16f92016..c67e8da3b9063079e8002e9599a55b4fec43d174 100644 (file)
@@ -15,6 +15,9 @@ exclude = [ "debian" ]
 [badges]
 maintenance = { status = "experimental" }
 
+[lints.rust]
+unexpected_cfgs = { level = "warn", check-cfg = [ 'cfg(perlmod, values("multiplicity"))' ] }
+
 [dependencies]
 bitflags = "1.2.1"
 libc = "0.2"