fff
fff copied to clipboard
Getting cargo build error on compilation
Lazy.nvim threw a big error. Why do we need rust nightly build? I don't understand
Compiling libssh2-sys v0.3.1
Compiling openssl-sys v0.9.109
Compiling openssl v0.10.73
Compiling neo_frizbee v0.6.0
error[E0554]: `#![feature]` may not be used on the stable release channel
--> /home/rez1/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/neo_frizbee-0.6.0/src/lib.rs:2:1
|
2 | #![feature(avx512_target_feature)]
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
error[E0554]: `#![feature]` may not be used on the stable release channel
--> /home/rez1/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/neo_frizbee-0.6.0/src/lib.rs:3:1
|
3 | #![feature(portable_simd)]
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
error[E0554]: `#![feature]` may not be used on the stable release channel
--> /home/rez1/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/neo_frizbee-0.6.0/src/lib.rs:4:1
|
4 | #![feature(get_mut_unchecked)]
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
For more information about this error, try `rustc --explain E0554`.
error: could not compile `neo_frizbee` (lib) due to 3 previous errors
warning: build failed, waiting for other jobs to finish...
You have to make sure that your rust is installed through rustup. Check which cargo and if it comes from the package manager remove it and install via rustup
Rust in my Linux distro is in the /usr/bin/ folder, not from package manager. I installed via rustup. Lazy.nvim couldn't compile due to a timeout. I went ahead and built it manually from Lazy/fff.nvim folder