Closed Bug 1882291 Opened 4 months ago Closed 4 months ago

build failure in gfx/qcms/src/lib.rs with Nightly rust

Categories

(Core :: Graphics: Color Management, defect)

defect

Tracking

()

RESOLVED FIXED
125 Branch
Tracking Status
firefox-esr115 --- fixed
firefox125 --- fixed

People

(Reporter: jfkthame, Assigned: jrmuizel)

References

Details

Attachments

(1 file)

With rustup default nightly, I'm currently seeing a build failure:

 2:15.15 error[E0635]: unknown feature `stdsimd`
 2:15.15   --> gfx/qcms/src/lib.rs:10:39
 2:15.15    |
 2:15.15 10 | #![cfg_attr(feature = "neon", feature(stdsimd))]
Component: Toolchains → Graphics: Color Management
Product: Firefox Build System → Core

We only need this on ARM32 because the ARM64 intrinsics are stable.

stdarch_arm_neon_intrinsics was split out from stdsimd here:
https://github.com/rust-lang/stdarch/pull/1486

Assignee: nobody → jmuizelaar
Status: NEW → ASSIGNED
Pushed by jmuizelaar@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/e9b01ce8e2fe
Switch to stdarch_arm_neon_intrinsics feature on rust >=1.78. r=glandium
Status: ASSIGNED → RESOLVED
Closed: 4 months ago
Resolution: --- → FIXED
Target Milestone: --- → 125 Branch

Comment on attachment 9388216 [details]
Bug 1882291. Switch to stdarch_arm_neon_intrinsics feature on rust >=1.78.

ESR Uplift Approval Request

  • If this is not a sec:{high,crit} bug, please state case for ESR consideration: This fixes the build on newer versions of Rust.
  • User impact if declined: New versions of rust won't be able to build Firefox
  • Fix Landed on Version: 125
  • Risk to taking this patch: Low
  • Why is the change risky/not risky? (and alternatives if risky): It's just a build fix.
Attachment #9388216 - Flags: approval-mozilla-esr115?

Comment on attachment 9388216 [details]
Bug 1882291. Switch to stdarch_arm_neon_intrinsics feature on rust >=1.78.

Approved for 115.12esr.

Attachment #9388216 - Flags: approval-mozilla-esr115? → approval-mozilla-esr115+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: