Skip to content

platform_intrinsics feature has been removed #360

Open
@lixiaoyong12

Description

@lixiaoyong12
......\packed_simd-0.3.9\src\lib.rs:218:5
|

218 | platform_intrinsics,
| ^^^^^^^^^^^^^^^^^^^ feature has been removed
|
= note: SIMD intrinsics use the regular intrinsics ABI now
-->

#![feature(portable_simd)]
use std::simd::f32x4;
fn main() {
    let a = f32x4::splat(10.0);
    let b = f32x4::from_array([1.0, 2.0, 3.0, 4.0]);
    println!("{:?}", a + b);
}

I expected to see this happen: explanation

Instead, this happened: explanation

Meta

rustc --version --verbose:

rustc 1.78.0-nightly (5119208fd 2024-03-02)

crate version in Cargo.toml:

[dependencies]
packed_simd="0.3.9"
Backtrace

<backtrace>

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