Rust 1.23.0 发布了。Rust 是一门由 Mozilla 开发的专注于安全性,速度和并发性的系统编程语言。
更新内容: 语言: 编译器: 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.
完整内容请查看发行说明。 下载地址: |