-
Notifications
You must be signed in to change notification settings - Fork 51
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
Can't build for nightly Rust #38
Comments
I do intend to make this library compile with Check the EDIT 07/26/18: Use 0.5.0 on crates.io |
Hey Adam, Stable Rust 1.27.0 with SIMD is out. Take a look at: https://blog.rust-lang.org/2018/06/21/Rust-1.27.html |
They mention your crate in the examples part ... |
Just for reference : rust-lang/stdarch#488 |
Quick update: As of db60c96, Also of interest: I should be able to build it on stable if I copy stdsimd's portable vectors into the codebase. |
Great news, thanks ! |
@AdamNiederer note that you cannot use |
Any news? |
0.5.0 should compile on the current nightly. Are you having any trouble with it? EDIT: Oh, they removed |
I've also noticed they removed core::simd - no idea why. |
|
Compiling faster v0.5.0
error[E0433]: failed to resolve. Maybe a missing`extern crate std;`?
--> /Users/blackanger/.cargo/registry/src/mirrors.ustc.edu.cn-15f9db60536bad60/faster-0.5.0/src/vecs.rs:10:12
|
10 | use crate::std::fmt::Debug;
| ^^^ Maybe a missing `extern crate std;`?
error[E0433]: failed to resolve. Maybe a missing`extern crate std;`?
--> /Users/blackanger/.cargo/registry/src/mirrors.ustc.edu.cn-15f9db60536bad60/faster-0.5.0/src/iters.rs:9:12
|
9 | use crate::std::slice::from_raw_parts;
| ^^^ Maybe a missing `extern cratestd;`?
error[E0433]: failed to resolve. Maybe a missing`extern crate std;`?
--> /Users/blackanger/.cargo/registry/src/mirrors.ustc.edu.cn-15f9db60536bad60/faster-0.5.0/src/intrin/eq.rs:8:12
|
8 | use crate::std::ops::BitXor;
| ^^^ Maybe a missing `extern cratestd;`?
error[E0433]: failed to resolve. Maybe a missing`extern crate std;`?
--> /Users/blackanger/.cargo/registry/src/mirrors.ustc.edu.cn-15f9db60536bad60/faster-0.5.0/src/arch/x86/intrin/abs.rs:14:12
|
14 | use crate::std::mem::transmute;
| ^^^ Maybe a missing `extern crate std;`? |
Hi Adam,
Your library uses stdsimd as a external dependency crate, which landed in Rust std awhile ago.
It also uses an old target_feature attribute syntax that compiler complains about.
Do you plan on updating your library to compile with nightly Rust any time soon ?
If not, can you please advise me on how to do necessary changes in order to utilize your library,
since I am fairly new to Rust.
The text was updated successfully, but these errors were encountered: