You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Edit: I can build the crate directly, but compilation fails when I add this as a dependency of my crate.
Edit 2: Adding cfg-if = "0.1.6" to my crate's Cargo.toml fixes the build, but I'm not sure why I need to explicitly add the indirect dependency.
I'm using version 0.3.1, and the following rustc:
$ rustup default nightly
info: using existing install for 'nightly-x86_64-apple-darwin'
info: default toolchain set to 'nightly-x86_64-apple-darwin'
This gives the following errors and then many many more:
$ cargo build
Blocking waiting for file lock on the registry index
Updating crates.io index
Downloaded packed_simd v0.3.1
Compiling packed_simd v0.3.1
error[E0432]: unresolved imports crate::codegen::pointer_sized_int::isize_, crate::codegen::pointer_sized_int::usize_
--> /Users/philip/.cargo/registry/src/github.com-1ecc6299db9ec823/packed_simd-0.3.1/src/codegen/vSize.rs:3:41
|
3 | use crate::codegen::pointer_sized_int::{isize_, usize_};
| ^^^^^^ ^^^^^^ no usize_ in codegen::pointer_sized_int
| |
| no isize_ in codegen::pointer_sized_int
error[E0432]: unresolved imports crate::codegen::pointer_sized_int::isize_, crate::codegen::pointer_sized_int::usize_
--> /Users/philip/.cargo/registry/src/github.com-1ecc6299db9ec823/packed_simd-0.3.1/src/vSize.rs:3:41
|
3 | use crate::codegen::pointer_sized_int::{isize_, usize_};
| ^^^^^^ ^^^^^^ no usize_ in codegen::pointer_sized_int
| |
| no isize_ in codegen::pointer_sized_int
The text was updated successfully, but these errors were encountered:
theotherphil
changed the title
Fails to compile on latest nightly
Compilation failure on latest nightly
Jan 22, 2019
@theotherphil we are in the process of refactoring core::arch and std::detect in Rust upstream (rust-lang/rust#57808). Once that lands (hopefully today-tomorrow), new versions of stdsimd can be released, and packed_simd can be updated. Sorry for the downfall in the meantime.
Edit: I can build the crate directly, but compilation fails when I add this as a dependency of my crate.
Edit 2: Adding
cfg-if = "0.1.6"
to my crate's Cargo.toml fixes the build, but I'm not sure why I need to explicitly add the indirect dependency.I'm using version 0.3.1, and the following rustc:
This gives the following errors and then many many more:
The text was updated successfully, but these errors were encountered: