cargo-offline
cargo-offline copied to clipboard
`#![feature]` may not be used on the stable release channel
- 执行
cargo install cargo-offline --features=cargo-metadata
- 如下:
error[E0554]:
#![feature]
may not be used on the stable release channel --> C:\Users\Administrator.cargo\registry\src\rsproxy.cn-8f6827c7555bfaf8\cargo-offline-0.1.6\src\main.rs:1:84 | 1 | #![cfg_attr(all(feature = "cargo-metadata", not(feature = "toml-config")), feature(file_set_times))] | ^^^^^^^^^^^^^^
For more information about this error, try rustc --explain E0554
.
error: could not compile cargo-offline
due to previous error
3. windows 11
$ rustup show
Default host: x86_64-pc-windows-msvc
rustup home: C:\Users\Administrator.rustup
stable-x86_64-pc-windows-msvc (default) rustc 1.64.0 (a55dd71d5 2022-09-19)
我没有仔细看操作文档, 我看到了解决方案. 不知道怎么主动关闭issue. 请求关闭.