From d0802ce566c6f443b6104805a346ec151a6bdb55 Mon Sep 17 00:00:00 2001 From: cepetr Date: Mon, 13 May 2024 11:27:22 +0200 Subject: [PATCH] fixup! feat(core): introduce stream-like image decoding --- core/embed/rust/src/io.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/core/embed/rust/src/io.rs b/core/embed/rust/src/io.rs index 57ea9f0b8d..f3027d83ff 100644 --- a/core/embed/rust/src/io.rs +++ b/core/embed/rust/src/io.rs @@ -158,6 +158,7 @@ impl<'a> PartialEq for BinaryData<'a> { fn eq(&self, other: &Self) -> bool { match (self, other) { (Self::Slice(a), Self::Slice(b)) => a.as_ptr() == b.as_ptr() && a.len() == b.len(), + #[cfg(feature = "micropython")] (Self::Object(a), Self::Object(b)) => a == b, _ => false, }