--- third_party/rust/qr_code/v2/BUILD.gn.orig	2025-08-26 20:49:50 UTC
+++ third_party/rust/qr_code/v2/BUILD.gn
@@ -40,6 +40,10 @@ cargo_crate("lib") {
   cargo_pkg_repository = "https://github.com/RCasatta/qr_code"
   cargo_pkg_version = "2.0.0"
 
+  rustflags = [
+    "--cap-lints=allow",
+  ]
+
   allow_unsafe = false
 
   #####################################################################
