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: 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 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)