Rust 1.55.0 正式发布
Rust 团队正式推出新版本的 Rust 1.55.0,如果你此前已通过 rustup 安装了以前的 Rust 版本,运行以下命令即可升级至最新版本: rustup update stable 1.55.0 稳定版中的更新内容包括: Cargo 重复编译器错误 在过去的版本中,当运行 cargo test、 cargo check --all-targets 或类似的命令在多个配置中构建相同的 Rust crate 时,错误和警告可能会重复出现,因为 rustc 的运行是并行的,而且都显示相同的警告。 例如,在 1.54.0 中,类似这样的输出很常见: $ cargo +1.54.0 check --all-targets Checking foo v0.1.0 warning: function is never used: `foo` --> src/lib.rs:9:4 | 9 | fn foo() {} | ^^^ | = note: `#[warn(dead_code)]` on by default warning: 1 warning...