Changeset c025978


Ignore:
Timestamp:
07/19/2024 09:42:28 AM (7 weeks ago)
Author:
Xi Ruoyao <xry111@…>
Branches:
12.2, lazarus, trunk, xry111/for-12.3, xry111/spidermonkey128
Children:
470ac26
Parents:
0c34633
git-author:
Xi Ruoyao <xry111@…> (07/19/2024 09:32:19 AM)
git-committer:
Xi Ruoyao <xry111@…> (07/19/2024 09:42:28 AM)
Message:

firefox, thunderbird: Enable rust SIMD again

The shipped encoding_rs crate has been ported from the broken
packed_simd to portable_simd. The latter is still a nightly feature but
the building system has some internal magic to enable nightly features
for our stable rustc build.

The danger of using nightly feature is it'll be more likely to be broken
with the future rustc releases. But we can then revert this change if
it happens anyway.

Location:
xsoft
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • xsoft/graphweb/firefox.xml

    r0c34633 rc025978  
    254254ac_add_options --disable-tests
    255255
    256 # The SIMD code relies on the unmaintained packed_simd crate which
    257 # fails to build with Rustc >= 1.78.0.  We may re-enable it once
    258 # Mozilla port the code to use std::simd and std::simd is stabilized.
    259 ac_add_options --disable-rust-simd
     256# This enables SIMD optimization in the shipped encoding_rs crate.
     257ac_add_options --enable-rust-simd
    260258
    261259ac_add_options --enable-system-ffi
  • xsoft/other/thunderbird.xml

    r0c34633 rc025978  
    216216ac_add_options --disable-tests
    217217
    218 # The SIMD code relies on the unmaintained packed_simd crate which
    219 # fails to build with Rustc >= 1.78.0.  We may re-enable it once
    220 # Mozilla port the code to use std::simd and std::simd is stabilized.
    221 ac_add_options --disable-rust-simd
     218# This enables SIMD optimization in the shipped encoding_rs crate.
     219ac_add_options --enable-rust-simd
    222220
    223221ac_add_options --enable-strip
Note: See TracChangeset for help on using the changeset viewer.