红联Linux门户
Linux帮助

Rust 1.21.0发布,Mozilla开发的系统编程语言

发布时间:2017-10-14 09:03:56来源:红联作者:baihuo
Rust 1.21.0 发布了。Rust 是一门由 Mozilla 开发的专注于安全性,速度和并发性的系统编程语言。

新功能介绍:

现在可以使用文字的静态引用:[code]fn main() {
let x: &'static u32 = &0;
}[/code]宽松的路径语法:Optional :: before < is now allowed in all contexts.[code]my_macro!(Vec::new); // Always worked
my_macro!(Vec::::new); // Now works[/code]编译器:

Upgraded jemalloc to 4.5.0

Enabled unwinding panics on Redox

Now runs LLVM in parallel during translation phase.

软件详情:https://github.com/rust-lang/rust/blob/master/RELEASES.md#version-1180-2017-06-08

来自:开源中国社区
文章评论

共有 0 条评论