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

新闻 Rust 1.23.0 发布,Mozilla 开发的系统编程语言 下载

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

  1. 漂亮的石头

    漂亮的石头 版主 管理成员

    注册:
    2012-02-10
    帖子:
    488,104
    赞:
    47
    Rust 1.23.0 发布了。Rust 是一门由 Mozilla 开发的专注于安全性,速度和并发性的系统编程语言。

    更新内容:

    语言:


    • Arbitrary auto traits are now permitted in trait objects.


    • rustc now uses subtyping on the left hand side of binary operations. Which should fix some confusing errors in some operations.

    编译器:


    • Enabled TrapUnreachable in LLVM which should mitigate the impact of undefined behaviour.


    • rustc now suggests renaming import if names clash.


    • Display errors/warnings correctly when there are zero-width or wide characters.


    • rustc now avoids unnecessary copies of arguments that are simple bindings This should improve memory usage on average by 5-10%.


    • Updated musl used to build musl rustc to 1.1.17

    库:


    • Allow a trailing comma in assert_eq/ne macro


    • Implement Hash for raw pointers to unsized types


    • impl From<*mut T> for AtomicPtr<T>


    • impl From<usize/isize> for AtomicUsize/AtomicIsize.


    • Removed the T: Sync requirement for RwLock<T>: Send


    • Removed T: Sized requirement for {<*const T>, <*mut T>}::as_ref and <*mut T>::as_mut


    • Optimized Thread::{park, unpark} implementation


    • Improved SliceExt::binary_search performance.


    • impl FromIterator<()> for ()


    • Copied AsciiExt trait methods to primitive types. Use of AsciiExt is now deprecated.

    完整内容请查看发行说明

    下载地址:

    Rust 1.23.0 发布,Mozilla 开发的系统编程语言下载地址
     
正在加载...