huonw/simd

Build failed on AppVeyor

zonyitoo opened this issue · 4 comments

Build failed messages:

Compiling simd v0.1.0 (https://github.com/huonw/simd#16aad570)
     Running `rustc C:\Users\appveyor\.cargo\git\checkouts\simd-2a4f7a7525648cf1\master\src\lib.rs --crate-name simd --crate-type lib -g -C metadata=8818301eefd37519 -C extra-filename=-8818301eefd37519 --out-dir C:\projects\context-rs\target\debug\deps --emit=dep-info,link -L dependency=C:\projects\context-rs\target\debug\deps -L dependency=C:\projects\context-rs\target\debug\deps --cap-lints allow`
C:\Users\appveyor\.cargo\git\checkouts\simd-2a4f7a7525648cf1\master\src\common.rs:16:5: 16:22 error: unresolved import `x86::sse2::common`. Could not find `sse2` in `x86` [E0432]
C:\Users\appveyor\.cargo\git\checkouts\simd-2a4f7a7525648cf1\master\src\common.rs:16 use x86::sse2::common;
                                                                                         ^~~~~~~~~~~~~~~~~
C:\Users\appveyor\.cargo\git\checkouts\simd-2a4f7a7525648cf1\master\src\common.rs:16:5: 16:22 help: run `rustc --explain E0432` to see a detailed explanation
error: aborting due to previous error
huonw commented

Hm, could you link me to a full AppVeyor run?

huonw commented

Hm, this seems to be because the build is being done for an i686 target, which the compiler assumes that it cannot assume that the CPU supports SIMD (i.e. there are some 32-bit x86 CPUs that don't have SSE2, while all x86-64 ones do).

The failure message should definitely be improved.

Hmm, I see..