更新内容:
语言:
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
impl From
Removed the T: Sync requirement for RwLock
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.
软件详情:https://github.com/rust-lang/rust/blob/master/RELEASES.md#version-1230-2018-01-04
下载地址:https://github.com/rust-lang/rust/archive/1.23.0.zip
来自:开源中国社区

