XQianCode opened a new issue, #4717:
URL: https://github.com/apache/arrow-rs/issues/4717

   ### Describe the usage question you have. Please include as many useful 
details as  possible.
   
   
   when I run `cargo build --target=wasm32-wasi`. It failed to compile.
   
   ### Meta
   `rustc --version --verbose`:
   ```
   rustc 1.73.0-nightly (076887268 2023-08-17)
   binary: rustc
   commit-hash: 07688726805d5db0a4bca445a6651d09708041ea
   commit-date: 2023-08-17
   host: x86_64-unknown-linux-gnu
   release: 1.73.0-nightly
   LLVM version: 17.0.0
   ```
   ### Toml file:
   ```
   [package]
       name = "rust-wasm"
       version = "1.0.0"
       authors = ["Xia"]
       description = "A tempt for rust to wasm with arrow"
   [dependencies]
       arrow = { version = "5.0", default-features = false, features = ["csv", 
"ipc", "simd"] }
   ```
   ### Error output
   
   ```
   cargo build --target=wasm32-wasi
      Compiling packed_simd_2 v0.3.8
   error: unrecognized platform-specific intrinsic function: `simd_shuffle2`
     --> 
/home/xq/.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`
     --> 
/home/xq/.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`
     --> 
/home/xq/.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`
     --> 
/home/xq/.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`
     --> 
/home/xq/.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`
     --> 
/home/xq/.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
   ```
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to