public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Than Ngo <than@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/chromium] epel9: Refresh rust-1.88-enable-unstable_features
Date: Sun, 11 Oct 2026 12:32:43 GMT	[thread overview]
Message-ID: <179172196368.1.4946548049948073695.rpms-chromium-bb1765a190d2@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/chromium
Branch : epel9
Commit : bb1765a190d2bc320b17b2301596b34cae65a1d7
Author : Than Ngo <than@redhat.com>
Date   : 2026-10-11T10:06:06+02:00
Stats  : +118/-118 in 3 file(s)
URL    : https://src.fedoraproject.org/rpms/chromium/c/bb1765a190d2bc320b17b2301596b34cae65a1d7?branch=epel9

Log:
Refresh rust-1.88-enable-unstable_features

---
diff --git a/chromium-154-rust-1.88-enable-unstable_features.patch b/chromium-154-rust-1.88-enable-unstable_features.patch
deleted file mode 100644
index 100b643..0000000
--- a/chromium-154-rust-1.88-enable-unstable_features.patch
+++ /dev/null
@@ -1,117 +0,0 @@
-error[E0658]: the target feature `avx512f` is currently unstable
-   --> ../../third_party/rust/chromium_crates_io/vendor/jxl_simd-v0_6/src/x86_64/avx512.rs:123:26
-    |
-123 |         #[target_feature(enable = "avx512f")]
-    |                          ^^^^^^^^^^^^^^^^^^
-    |
-    = note: see issue #44839 <https://github.com/rust-lang/rust/issues/44839> for more information
-    = help: add `#![feature(avx512_target_feature)]` to the crate attributes to enable
-    = note: this compiler was built on 2025-06-23; consider upgrading it if it is out of date
-
-Fix FTBFS on el9
-
-diff -up 153.0.8010.36/third_party/rust/chromium_crates_io/vendor/jxl_simd-v0_6/src/lib.rs.me 153.0.8010.36/third_party/rust/chromium_crates_io/vendor/jxl_simd-v0_6/src/lib.rs
---- 153.0.8010.36/third_party/rust/chromium_crates_io/vendor/jxl_simd-v0_6/src/lib.rs.me	2026-02-12 20:44:24.000000000 +0100
-+++ 153.0.8010.36/third_party/rust/chromium_crates_io/vendor/jxl_simd-v0_6/src/lib.rs	2026-02-15 20:10:02.848196172 +0100
-@@ -4,6 +4,8 @@
- // license that can be found in the LICENSE file.
- 
- #![allow(clippy::too_many_arguments)]
-+#![feature(avx512_target_feature)]
-+#![cfg_attr(target_arch = "x86_64", feature(stdarch_x86_avx512))]
- 
- use std::{
-     fmt::Debug,
-diff -up 153.0.8010.36/third_party/rust/chromium_crates_io/vendor/jxl_transforms-v0_6/src/lib.rs.me 153.0.8010.36/third_party/rust/chromium_crates_io/vendor/jxl_transforms-v0_6/src/lib.rs
---- 153.0.8010.36/third_party/rust/chromium_crates_io/vendor/jxl_transforms-v0_6/src/lib.rs.me	2026-02-12 20:44:24.000000000 +0100
-+++ 153.0.8010.36/third_party/rust/chromium_crates_io/vendor/jxl_transforms-v0_6/src/lib.rs	2026-02-15 20:09:43.548731085 +0100
-@@ -3,6 +3,9 @@
- // Use of this source code is governed by a BSD-style
- // license that can be found in the LICENSE file.
- 
-+#![feature(avx512_target_feature)]
-+#![cfg_attr(target_arch = "x86_64", feature(stdarch_x86_avx512))]
-+
- mod idct2d;
- mod reinterpreting_dct2d;
- pub mod transform;
-diff -up 153.0.8010.36/third_party/rust/chromium_crates_io/vendor/jxl-v0_6/src/lib.rs.me 153.0.8010.36/third_party/rust/chromium_crates_io/vendor/jxl-v0_6/src/lib.rs
---- 153.0.8010.36/third_party/rust/chromium_crates_io/vendor/jxl-v0_6/src/lib.rs.me	2026-02-12 20:44:24.000000000 +0100
-+++ 153.0.8010.36/third_party/rust/chromium_crates_io/vendor/jxl-v0_6/src/lib.rs	2026-02-15 20:11:01.678559809 +0100
-@@ -3,6 +3,10 @@
- // Use of this source code is governed by a BSD-style
- // license that can be found in the LICENSE file.
- 
-+#![feature(avx512_target_feature)]
-+#![cfg_attr(target_arch = "x86_64", feature(stdarch_x86_avx512))]
-+#![feature(non_null_from_ref)]
-+
- #![deny(unsafe_code)]
- pub mod api;
- pub mod bit_reader;
-diff -up 153.0.8010.36/third_party/rust/jxl_simd/v0_6/BUILD.gn.me 153.0.8010.36/third_party/rust/jxl_simd/v0_6/BUILD.gn
---- 153.0.8010.36/third_party/rust/jxl_simd/v0_6/BUILD.gn.me	2026-02-12 20:44:24.000000000 +0100
-+++ 153.0.8010.36/third_party/rust/jxl_simd/v0_6/BUILD.gn	2026-02-15 20:15:51.823722639 +0100
-@@ -36,6 +36,10 @@ cargo_crate("lib") {
- 
-   allow_unsafe = true
- 
-+  rustflags = [
-+    "-Zallow-features=stdarch_x86_avx512,avx512_target_feature",
-+  ]
-+
-   features = [
-     "all-simd",
-     "avx",
-@@ -69,6 +73,7 @@ cargo_crate("lib") {
-   # `extra_kv.configs_to_remove` and `extra_kv.configs_to_add` from
-   # `gnrt_config.toml`).
-   _configs_to_remove += [ "//build/config/compiler:default_optimization" ]
-+  _configs_to_remove += [ "//build/config/compiler:disallow_unstable_features" ]
-   _configs_to_add += [ "//build/config/compiler:optimize" ]
- 
-   # Applying config changes.
-diff -up 153.0.8010.36/third_party/rust/jxl_transforms/v0_6/BUILD.gn.me 153.0.8010.36/third_party/rust/jxl_transforms/v0_6/BUILD.gn
---- 153.0.8010.36/third_party/rust/jxl_transforms/v0_6/BUILD.gn.me	2026-02-12 20:44:24.000000000 +0100
-+++ 153.0.8010.36/third_party/rust/jxl_transforms/v0_6/BUILD.gn	2026-02-15 20:17:33.887730035 +0100
-@@ -45,6 +45,10 @@ cargo_crate("lib") {
- 
-   allow_unsafe = true
- 
-+  rustflags = [
-+    "-Zallow-features=stdarch_x86_avx512,avx512_target_feature",
-+  ]
-+
-   deps = [ "//third_party/rust/jxl_simd/v0_6:lib" ]
- 
-   # Only for usage from third-party crates. Add the crate to
-@@ -72,6 +76,7 @@ cargo_crate("lib") {
-   # `extra_kv.configs_to_remove` and `extra_kv.configs_to_add` from
-   # `gnrt_config.toml`).
-   _configs_to_remove += [ "//build/config/compiler:default_optimization" ]
-+  _configs_to_remove += [ "//build/config/compiler:disallow_unstable_features" ]
-   _configs_to_add += [ "//build/config/compiler:optimize" ]
- 
-   # Applying config changes.
-diff -up 153.0.8010.36/third_party/rust/jxl/v0_6/BUILD.gn.me 153.0.8010.36/third_party/rust/jxl/v0_6/BUILD.gn
---- 153.0.8010.36/third_party/rust/jxl/v0_6/BUILD.gn.me	2026-02-12 20:44:24.000000000 +0100
-+++ 153.0.8010.36/third_party/rust/jxl/v0_6/BUILD.gn	2026-02-15 20:16:47.026490882 +0100
-@@ -169,6 +169,10 @@ cargo_crate("lib") {
- 
-   allow_unsafe = true
- 
-+  rustflags = [
-+    "-Zallow-features=stdarch_x86_avx512,avx512_target_feature,non_null_from_ref",
-+  ]
-+
-   deps = [
-     "//third_party/rust/array_init/v2:lib",
-     "//third_party/rust/byteorder/v1:lib",
-@@ -201,6 +205,7 @@ cargo_crate("lib") {
-   # `extra_kv.configs_to_remove` and `extra_kv.configs_to_add` from
-   # `gnrt_config.toml`).
-   _configs_to_remove += [ "//build/config/compiler:default_optimization" ]
-+  _configs_to_remove += [ "//build/config/compiler:disallow_unstable_features" ]
-   _configs_to_add += [ "//build/config/compiler:optimize" ]
- 
-   # Applying config changes.

diff --git a/chromium-155-rust-1.88-enable-unstable_features.patch b/chromium-155-rust-1.88-enable-unstable_features.patch
new file mode 100644
index 0000000..a165b91
--- /dev/null
+++ b/chromium-155-rust-1.88-enable-unstable_features.patch
@@ -0,0 +1,117 @@
+error[E0658]: the target feature `avx512f` is currently unstable
+   --> ../../third_party/rust/chromium_crates_io/vendor/jxl_simd-v0_7/src/x86_64/avx512.rs:123:26
+    |
+123 |         #[target_feature(enable = "avx512f")]
+    |                          ^^^^^^^^^^^^^^^^^^
+    |
+    = note: see issue #44839 <https://github.com/rust-lang/rust/issues/44839> for more information
+    = help: add `#![feature(avx512_target_feature)]` to the crate attributes to enable
+    = note: this compiler was built on 2025-06-23; consider upgrading it if it is out of date
+
+Fix FTBFS on el9
+
+diff -up 153.0.8010.36/third_party/rust/chromium_crates_io/vendor/jxl_simd-v0_7/src/lib.rs.me 153.0.8010.36/third_party/rust/chromium_crates_io/vendor/jxl_simd-v0_7/src/lib.rs
+--- 153.0.8010.36/third_party/rust/chromium_crates_io/vendor/jxl_simd-v0_7/src/lib.rs.me	2026-02-12 20:44:24.000000000 +0100
++++ 153.0.8010.36/third_party/rust/chromium_crates_io/vendor/jxl_simd-v0_7/src/lib.rs	2026-02-15 20:10:02.848196172 +0100
+@@ -4,6 +4,8 @@
+ // license that can be found in the LICENSE file.
+ 
+ #![allow(clippy::too_many_arguments)]
++#![feature(avx512_target_feature)]
++#![cfg_attr(target_arch = "x86_64", feature(stdarch_x86_avx512))]
+ 
+ use std::{
+     fmt::Debug,
+diff -up 153.0.8010.36/third_party/rust/chromium_crates_io/vendor/jxl_transforms-v0_7/src/lib.rs.me 153.0.8010.36/third_party/rust/chromium_crates_io/vendor/jxl_transforms-v0_7/src/lib.rs
+--- 153.0.8010.36/third_party/rust/chromium_crates_io/vendor/jxl_transforms-v0_7/src/lib.rs.me	2026-02-12 20:44:24.000000000 +0100
++++ 153.0.8010.36/third_party/rust/chromium_crates_io/vendor/jxl_transforms-v0_7/src/lib.rs	2026-02-15 20:09:43.548731085 +0100
+@@ -3,6 +3,9 @@
+ // Use of this source code is governed by a BSD-style
+ // license that can be found in the LICENSE file.
+ 
++#![feature(avx512_target_feature)]
++#![cfg_attr(target_arch = "x86_64", feature(stdarch_x86_avx512))]
++
+ mod idct2d;
+ mod reinterpreting_dct2d;
+ pub mod transform;
+diff -up 153.0.8010.36/third_party/rust/chromium_crates_io/vendor/jxl-v0_7/src/lib.rs.me 153.0.8010.36/third_party/rust/chromium_crates_io/vendor/jxl-v0_7/src/lib.rs
+--- 153.0.8010.36/third_party/rust/chromium_crates_io/vendor/jxl-v0_7/src/lib.rs.me	2026-02-12 20:44:24.000000000 +0100
++++ 153.0.8010.36/third_party/rust/chromium_crates_io/vendor/jxl-v0_7/src/lib.rs	2026-02-15 20:11:01.678559809 +0100
+@@ -3,6 +3,10 @@
+ // Use of this source code is governed by a BSD-style
+ // license that can be found in the LICENSE file.
+ 
++#![feature(avx512_target_feature)]
++#![cfg_attr(target_arch = "x86_64", feature(stdarch_x86_avx512))]
++#![feature(non_null_from_ref)]
++
+ #![deny(unsafe_code)]
+ pub mod api;
+ pub mod bit_reader;
+diff -up 153.0.8010.36/third_party/rust/jxl_simd/v0_7/BUILD.gn.me 153.0.8010.36/third_party/rust/jxl_simd/v0_7/BUILD.gn
+--- 153.0.8010.36/third_party/rust/jxl_simd/v0_7/BUILD.gn.me	2026-02-12 20:44:24.000000000 +0100
++++ 153.0.8010.36/third_party/rust/jxl_simd/v0_7/BUILD.gn	2026-02-15 20:15:51.823722639 +0100
+@@ -36,6 +36,10 @@ cargo_crate("lib") {
+ 
+   allow_unsafe = true
+ 
++  rustflags = [
++    "-Zallow-features=stdarch_x86_avx512,avx512_target_feature",
++  ]
++
+   features = [
+     "all-simd",
+     "avx",
+@@ -69,6 +73,7 @@ cargo_crate("lib") {
+   # `extra_kv.configs_to_remove` and `extra_kv.configs_to_add` from
+   # `gnrt_config.toml`).
+   _configs_to_remove += [ "//build/config/compiler:default_optimization" ]
++  _configs_to_remove += [ "//build/config/compiler:disallow_unstable_features" ]
+   _configs_to_add += [ "//build/config/compiler:optimize" ]
+ 
+   # Applying config changes.
+diff -up 153.0.8010.36/third_party/rust/jxl_transforms/v0_7/BUILD.gn.me 153.0.8010.36/third_party/rust/jxl_transforms/v0_7/BUILD.gn
+--- 153.0.8010.36/third_party/rust/jxl_transforms/v0_7/BUILD.gn.me	2026-02-12 20:44:24.000000000 +0100
++++ 153.0.8010.36/third_party/rust/jxl_transforms/v0_7/BUILD.gn	2026-02-15 20:17:33.887730035 +0100
+@@ -45,6 +45,10 @@ cargo_crate("lib") {
+ 
+   allow_unsafe = true
+ 
++  rustflags = [
++    "-Zallow-features=stdarch_x86_avx512,avx512_target_feature",
++  ]
++
+   deps = [ "//third_party/rust/jxl_simd/v0_7:lib" ]
+ 
+   # Only for usage from third-party crates. Add the crate to
+@@ -72,6 +76,7 @@ cargo_crate("lib") {
+   # `extra_kv.configs_to_remove` and `extra_kv.configs_to_add` from
+   # `gnrt_config.toml`).
+   _configs_to_remove += [ "//build/config/compiler:default_optimization" ]
++  _configs_to_remove += [ "//build/config/compiler:disallow_unstable_features" ]
+   _configs_to_add += [ "//build/config/compiler:optimize" ]
+ 
+   # Applying config changes.
+diff -up 153.0.8010.36/third_party/rust/jxl/v0_7/BUILD.gn.me 153.0.8010.36/third_party/rust/jxl/v0_7/BUILD.gn
+--- 153.0.8010.36/third_party/rust/jxl/v0_7/BUILD.gn.me	2026-02-12 20:44:24.000000000 +0100
++++ 153.0.8010.36/third_party/rust/jxl/v0_7/BUILD.gn	2026-02-15 20:16:47.026490882 +0100
+@@ -169,6 +169,10 @@ cargo_crate("lib") {
+ 
+   allow_unsafe = true
+ 
++  rustflags = [
++    "-Zallow-features=stdarch_x86_avx512,avx512_target_feature,non_null_from_ref",
++  ]
++
+   deps = [
+     "//third_party/rust/array_init/v2:lib",
+     "//third_party/rust/byteorder/v1:lib",
+@@ -201,6 +205,7 @@ cargo_crate("lib") {
+   # `extra_kv.configs_to_remove` and `extra_kv.configs_to_add` from
+   # `gnrt_config.toml`).
+   _configs_to_remove += [ "//build/config/compiler:default_optimization" ]
++  _configs_to_remove += [ "//build/config/compiler:disallow_unstable_features" ]
+   _configs_to_add += [ "//build/config/compiler:optimize" ]
+ 
+   # Applying config changes.

diff --git a/chromium.spec b/chromium.spec
index 4ed1c3b..d73188d 100644
--- a/chromium.spec
+++ b/chromium.spec
@@ -368,7 +368,7 @@ Patch141: chromium-118-dma_buf_export_sync_file-conflict.patch
 
 # Fix FTBFS with rustc-1.88 on el9 and epel10.1
 Patch142: chromium-149-rust-1.88-build-error.patch
-Patch143: chromium-154-rust-1.88-enable-unstable_features.patch
+Patch143: chromium-155-rust-1.88-enable-unstable_features.patch
 Patch144: chromium-146-rust-1.88-undefined-symbol.patch
 
 # add correct path for Qt6Gui header and libs

                 reply	other threads:[~2026-10-11 12:32 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=179172196368.1.4946548049948073695.rpms-chromium-bb1765a190d2@fedoraproject.org \
    --to=than@redhat.com \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox