Skip to content

simd_fmin/fmax renamed breaking ARM builds in the future #584

@wezm

Description

@wezm

A heads up that rust-lang/rust#154043 renamed simd_fmin/fmax to simd_minimum_number_nsz and simd_maximum_number_nsz which means pathfinder_simd fails to build on arm with a recent nightly:

[wmoore@volterra ~]$ uname -ms
Linux aarch64
[wmoore@volterra ~]$ cargo +nightly test
error[E0425]: cannot find function `simd_fmin` in this scope
  --> simd/src/arm/mod.rs:82:24
   |
82 |         unsafe { F32x2(simd_fmin(self.0, other.0)) }
   |                        ^^^^^^^^^
   |
  --> /rustc/48cc71ee88cd0f11217eced958b9930970da998b/library/core/src/intrinsics/simd.rs:801:0
   |
   = note: similarly named function `simd_fsin` defined here
help: a function with a similar name exists
   |
82 -         unsafe { F32x2(simd_fmin(self.0, other.0)) }
82 +         unsafe { F32x2(simd_fsin(self.0, other.0)) }
   |
⋮
and more
[wmoore@volterra ~]$ cargo +nightly --version
cargo 1.96.0-nightly (888f67534 2026-03-30)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions