返回上一页  首页 | cnbeta报时: 16:19:00
Rust 语言 1.25 版本发布 编译器升级至 LLVM 6
发布日期:2018-03-30 08:10:15  稿源:开源中国

Rust 是一门由 Mozilla 开发的专注于安全性,速度和并发性的系统编程语言。Rust 1.25 已发布,这不是一个特别大的版本更新,但值得关注的是编译器已从 LLVM 4 升级到 LLVM 6 。

1200px-Rust_programming_language_black_logo.svg.png

新版本带来了新的编写 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

下载地址:

查看网友评论   返回完整版观看

返回上一页  首页 | cnbeta报时: 16:19:00

文字版  标准版  电脑端

© 2003-2024