设为首页收藏本站

LUPA开源社区

 找回密码
 注册
文章 帖子 博客
LUPA开源社区 首页 业界资讯 软件追踪 查看内容

Rust 1.6发布,libcore变稳定

2016-1-24 13:07| 发布者: joejoe0332| 查看: 556| 评论: 0|原作者: oschina|来自: oschina

摘要: Rust 1.6 发布,该版本最主要的新特性是 libcore 变稳定,主要更新如下:LanguageThe #! attribute causes a crate to not be linked to the standard library, but only the core library, as described in RFC 118 ...

Rust 1.6 发布,该版本最主要的新特性是 libcore 变稳定,主要更新如下:

Language

  • The #![no_std] attribute causes a crate to not be linked to the standard library, but only the core library, as described in RFC 1184. The core library defines common types and traits but has no platform dependencies whatsoever, and is the basis for Rust software in environments that cannot support a full port of the standard library, such as operating systems. Most of the core library is now stable.

Libraries

Cargo

  • Cargo will look in $CARGO_HOME/bin for subcommands by default.

  • Cargo build scripts can specify their dependencies by emitting thererun-if-changed key.

  • crates.io will reject publication of crates with dependencies that have a wildcard version constraint. Crates with wildcard dependencies were seen to cause a variety of problems, as described in RFC 1241. Disallowing them will create more predictable development experience and a more stable ecosystem. Since 1.5 publication of such crates has emitted a warning.

  • cargo clean accepts a --release flag to clean the release folder.  A variety of artifacts that Cargo failed to clean are now correctly deleted.

Misc

Compatibility Notes

更多内容请看:release notes

下载页面:1.6.0

Rust 是 Mozilla 的一个新的编程语言,由web语言的领军人物Brendan Eich(js之父),Dave Herman以及Mozilla公司的Graydon Hoare 合力开发。


酷毙

雷人

鲜花

鸡蛋

漂亮
  • 快毕业了,没工作经验,
    找份工作好难啊?
    赶紧去人才芯片公司磨练吧!!

最新评论

关于LUPA|人才芯片工程|人才招聘|LUPA认证|LUPA教育|LUPA开源社区 ( 浙B2-20090187 浙公网安备 33010602006705号   

返回顶部