1. XenForo 1.5.14 中文版——支持中文搜索!现已发布!查看详情
  2. Xenforo 爱好者讨论群:215909318 XenForo专区

新闻 Rust 1.6 发布,libcore 变稳定 下载

本帖由 漂亮的石头2016-01-22 发布。版面名称:软件资讯

  1. 漂亮的石头

    漂亮的石头 版主 管理成员

    注册:
    2012-02-10
    帖子:
    487,394
    赞:
    47
    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 合力开发。
    Rust 1.6 发布,libcore 变稳定下载地址
     
正在加载...