std-microblock / BetterNCM-Installer

一键安装 Better 系软件
GNU General Public License v3.0
2.01k stars 183 forks source link

构建过程中遇到被移除的特性 #48

Closed DavisYe closed 1 year ago

DavisYe commented 1 year ago

再wsl-ubuntu环境下编译 使用下面命令安装的环境

curl https://sh.rustup.rs -sSf | sh
rustup component add rust-src --toolchain nightly-x86_64-unknown-linux-gnu

报错显示

 Compiling scl-gui-widgets v1.0.0 (/root/trash/BetterNCM-Installer/scl-gui-widgets)
error[E0557]: feature has been removed
 --> src/main.rs:3:12
  |
3 | #![feature(box_syntax)]
  |            ^^^^^^^^^^ feature has been removed
  |
  = note: replaced with `#[rustc_box]`

For more information about this error, try `rustc --explain E0557`.
error: could not compile `betterncm_installer` (bin "betterncm_installer") due to previous error