error[E0554]: #![feature] may not be used on the stable release channel Couldn't install racer using cargo

我是研究僧i 提交于 2019-12-03 04:40:31

As the error message states, you cannot compile that code with stable Rust. You need to install nightly Rust and then use it to compile the program:

rustup install nightly
cargo +nightly install racer
Fiddy Bux

I received error 0554 when trying to compile source code using the stable channel for armv7-unknown-linux-gnueabihf.

It failed because the application uses features not available in the stable channel.

The solution was to install the nightly channel with:

rustup install nightly

And then to compile with:

cargo +nightly build --target=armv7-unknown-linux-gnueabihf

That did it for me.

Don't be tempted to follow the syntax offered when rustup installs the nightly channel, because it won't work:

cargo build --target=nightly-armv7-unknown-linux-gnueabihf
标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!