Skip to content

Support x86 AVX-12 SIMD types without simd-nightly #2583

Open
@joshlf

Description

@joshlf

As of Rust 1.89.0, the stdarch_x86_avx512 feature has been stabilized, and so we no longer need the simd-nightly feature in order to support the types gated by that feature.

A first attempt at this is in #2574, but it runs into an issue:

  • We add version detection for 1.89.0; specifically, we add the following entry to Cargo.toml's [package.metadata.build-rs] table: zerocopy-simd-x86-avx12-1-89-0 = "1.89.0"
  • We add zerocopy-simd-x86-avx12-1-89-0 to the list of toolchains in our GitHub CI build matrix
  • Since (as of this writing, 2025-06-10) 1.89.0 has not been released stably, CI fails when trying to install 1.89.0 (e.g. see this failure)

Thus, our plan is the following:

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