Rust 1.10 发布了,Rust 是 Mozilla 的一个新的编程语言,由web语言的领军人物Brendan Eich(js之父),Dave Herman以及Mozilla公司的Graydon Hoare 合力开发。
你可以查看install Rust 1.10安装升级,该版本做了一些优化,使其编译性能较之前得以加快。该版本一大特点是,新增封装类型:cdylib。具体信息,可查看发布说明。
语言方面改进:
Allow
concat_idents!
in type positions as well as in expression positions.Copy
types are required to have a trivial implementation ofClone
.RFC 1521.Fix
#[derive(RustcEncodable)]
in the presence of otherencode
methods.panic!
can be converted to a runtime abort with the-C panic=abort
flag.RFC 1513.Add a new crate type, 'cdylib'. cdylibs are dynamic libraries suitable for loading by non-Rust hosts.RFC 1510. Note that Cargo does not yet directly support cdylibs.
其他改进,可直接查看改进记录。