Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

confusing build errors when using packed_simd_2 #358

Closed
soulsicle opened this issue Oct 8, 2023 · 2 comments
Closed

confusing build errors when using packed_simd_2 #358

soulsicle opened this issue Oct 8, 2023 · 2 comments

Comments

@soulsicle
Copy link

soulsicle commented Oct 8, 2023

I have been trying to write code for a small project, all of the code in this code is correct with no errors, but every time i try to build it i get 6 errors:

error: unrecognized platform-specific intrinsic function: simd_shuffle2`
--> C:\Users\murph.cargo\registry\src\index.crates.io-6f17d22bba15001f\packed_simd_2-0.3.8\src\codegen\llvm.rs:10:5
|
10 | pub fn simd_shuffle2<T, U>(x: T, y: T, idx: [u32; 2]) -> U;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error: unrecognized platform-specific intrinsic function: simd_shuffle4
--> C:\Users\murph.cargo\registry\src\index.crates.io-6f17d22bba15001f\packed_simd_2-0.3.8\src\codegen\llvm.rs:11:5
|
11 | pub fn simd_shuffle4<T, U>(x: T, y: T, idx: [u32; 4]) -> U;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error: unrecognized platform-specific intrinsic function: simd_shuffle8
--> C:\Users\murph.cargo\registry\src\index.crates.io-6f17d22bba15001f\packed_simd_2-0.3.8\src\codegen\llvm.rs:12:5
|
12 | pub fn simd_shuffle8<T, U>(x: T, y: T, idx: [u32; 8]) -> U;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error: unrecognized platform-specific intrinsic function: simd_shuffle16
--> C:\Users\murph.cargo\registry\src\index.crates.io-6f17d22bba15001f\packed_simd_2-0.3.8\src\codegen\llvm.rs:13:5
|
13 | pub fn simd_shuffle16<T, U>(x: T, y: T, idx: [u32; 16]) -> U;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error: unrecognized platform-specific intrinsic function: simd_shuffle32
--> C:\Users\murph.cargo\registry\src\index.crates.io-6f17d22bba15001f\packed_simd_2-0.3.8\src\codegen\llvm.rs:14:5
|
14 | pub fn simd_shuffle32<T, U>(x: T, y: T, idx: [u32; 32]) -> U;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error: unrecognized platform-specific intrinsic function: simd_shuffle64
--> C:\Users\murph.cargo\registry\src\index.crates.io-6f17d22bba15001f\packed_simd_2-0.3.8\src\codegen\llvm.rs:15:5
|
15 | pub fn simd_shuffle64<T, U>(x: T, y: T, idx: [u32; 64]) -> U;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error: could not compile packed_simd_2 (lib) due to 6 previous errors`

I dont directly import packed_simd_2, one of the modules in my project do:

use bitcoin::blockdata::transaction::Transaction; use bitcoin::network::constants::Network; use bitcoin::util::address::Address; use bitcoin::util::amount::Amount; use bitcoin::util::key::PrivateKey; use bitcoin::util::key::PublicKey; use reqwest; use serde_json; use std::process::Command; use std::env;

(i am trying to run this in windows)

@programmerjake
Copy link
Member

programmerjake commented Oct 8, 2023

packed_simd 0.3.9 has been released which fixes this issue, unfortunately packed_simd_2 is still on 0.3.8.
duplicate of #356

@programmerjake programmerjake closed this as not planned Won't fix, can't repro, duplicate, stale Oct 8, 2023
@programmerjake programmerjake reopened this Oct 8, 2023
@programmerjake
Copy link
Member

Duplicate of #356

@programmerjake programmerjake marked this as a duplicate of #356 Oct 8, 2023
@programmerjake programmerjake closed this as not planned Won't fix, can't repro, duplicate, stale Oct 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants