Skip to content

const simd_extract/insert are no longer usable in latest nightly (2020-01-02) #67847

Open
@novacrazy

Description

@novacrazy

A few months ago #64738 introduced const simd_insert/simd_extract, which I then integrated into my application via a fork of packed_simd.

However, upon upgrading to the latest nightly (rustc 1.42.0-nightly (0a58f5864 2020-01-02)), it was suddenly non-const.

Furthermore, It seems the ability to make it const via rustc_const_unstable is not possible in user applications, making the const versions of this effectively rustc internal-only now, breaking my fork of packed_simd and my application.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-SIMDArea: SIMD (Single Instruction Multiple Data)A-const-evalArea: Constant evaluation, covers all const contexts (static, const fn, ...)B-unstableBlocker: Implemented in the nightly compiler and unstable.T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.requires-nightlyThis issue requires a nightly compiler in some way.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions