相关疑难解决方法(0)

错误[E0554]:稳定版本频道上不能使用#![功能]无法使用货物安装赛车

我正在尝试使用货物安装赛车,所以我cargo install racer在终端执行了命令,结果导致错误:

error[E0554]: #![feature] may not be used on the stable release channel
--> /home/rajkumar/.cargo/registry/src/github.com-1ecc6299db9ec823/scoped-tls-0.1.2/src/lib.rs:47:34
|
47 | #![cfg_attr(feature = "nightly", feature(macro_vis_matcher))]
|                                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^

error[E0554]: #![feature] may not be used on the stable release channel
--> /home/rajkumar/.cargo/registry/src/github.com-1ecc6299db9ec823/scoped-tls-0.1.2/src/lib.rs:48:34
|
48 | #![cfg_attr(feature = "nightly", feature(allow_internal_unstable))]
|                                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error: aborting due to 2 previous errors

For more information about this error, try `rustc --explain E0554`.
error: failed to compile `racer v2.1.10`, intermediate artifacts can be found at `/tmp/cargo-install5YWPWW`

Caused …
Run Code Online (Sandbox Code Playgroud)

rust rust-cargo

22
推荐指数
4
解决办法
4886
查看次数

Rust“工具链”究竟是什么?

我见过rustup被称为“工具链安装程序”,但很难找到 Rust 认为“工具链”是什么以及该概念的范围是什么的确切定义。

我已经安装了 Rust 编译器和 Cargo。还能rustup带来什么?它只是一个 Rust 版本切换器吗?


作为 .NET 开发人员,也许有一个相似之处可以让我更容易掌握这个概念?

toolchain rust rustup

7
推荐指数
1
解决办法
1634
查看次数

是否可以有多个共存的Rust安装?

是否有可能为了方便(更快的构建周期,自动更新)和从GitHub克隆的开发版本用于实验目的,每晚构建Rust编译器?

我的想法是,我的各种项目都有一个Rust的二进制版本,而且我可以破解Rust的版本,而不会在彼此之间造成破坏.

如果重要,假设我的操作系统是64位的Ubuntu.

settings rust

5
推荐指数
1
解决办法
1189
查看次数

标签 统计

rust ×3

rust-cargo ×1

rustup ×1

settings ×1

toolchain ×1