Rust 是一门由 Mozilla 开发的专注于安全性,速度和并发性的系统编程语言。Rust 1.25 已发布,这不是一个特别大的版本更新,但值得关注的是编译器已从 LLVM 4 升级到 LLVM 6 。
新版本带来了新的编写 use 的方法,以前:
use std::fs::File;use std::io::Read;use std::path::{Path, PathBuf};
现在
// on one lineuse std::{fs::File, io::Read, path::{Path, PathBuf}};// with some more breathing roomuse std::{ fs::File, io::Read, path::{ Path, PathBuf }};
更多细节请查阅:
版本更新:
$ rustup update stable
下载地址: