Skip site navigation (1)Skip section navigation (2)



index | | raw e-mail

    mail/thunderbird-esr: Fix build with rust 1.95.0
    
    Import part of upstream patch [1] to fix the following error,
    upstream PR at [2]:
    
    error[E0599]: no method named `select` found for struct `Mask<T, N>` in the current scope
      --> third_party/rust/encoding_rs/src/x_user_defined.rs:23:56
    
    [1] https://hg-edge.mozilla.org/mozilla-central/rev/ec1dd05fd578
    [2] https://bugzilla.mozilla.org/show_bug.cgi?id=2033279
    
    PR:             294615, 294703
    Approved by:    portmgr (build fix blanket)
---
 mail/thunderbird-esr/files/patch-bug2033279 | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)

diff --git a/mail/thunderbird-esr/files/patch-bug2033279 b/mail/thunderbird-esr/files/patch-bug2033279
new file mode 100644
index 000000000000..91a45ab6abba
--- /dev/null
+++ b/mail/thunderbird-esr/files/patch-bug2033279
@@ -0,0 +1,28 @@
+https://bugzilla.mozilla.org/show_bug.cgi?id=2033279
+
+https://hg-edge.mozilla.org/mozilla-central/rev/ec1dd05fd578
+
+error[E0599]: no method named `select` found for struct `Mask<T, N>` in the current scope
+  --> third_party/rust/encoding_rs/src/x_user_defined.rs:23:56
+
+--- comm/third_party/rust/encoding_rs/src/x_user_defined.rs.orig	2026-04-20 10:54:51 UTC
++++ comm/third_party/rust/encoding_rs/src/x_user_defined.rs
+@@ -16,6 +16,7 @@ cfg_if! {
+         use simd_funcs::*;
+         use core::simd::u16x8;
+         use core::simd::cmp::SimdPartialOrd;
++        use core::simd::Select;
+ 
+         #[inline(always)]
+         fn shift_upper(unpacked: u16x8) -> u16x8 {
+
+--- third_party/rust/encoding_rs/src/x_user_defined.rs.orig	2026-04-20 10:54:51 UTC
++++ third_party/rust/encoding_rs/src/x_user_defined.rs
+@@ -16,6 +16,7 @@ cfg_if! {
+         use simd_funcs::*;
+         use core::simd::u16x8;
+         use core::simd::cmp::SimdPartialOrd;
++        use core::simd::Select;
+ 
+         #[inline(always)]
+         fn shift_upper(unpacked: u16x8) -> u16x8 {


home | help