Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
int
Rust
提交
1fefa5b5
R
Rust
项目概览
int
/
Rust
大约 1 年 前同步成功
通知
1
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
R
Rust
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
1fefa5b5
编写于
6月 27, 2014
作者:
A
Alex Crichton
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Updated release notes for 0.11.0
上级
d2ff9d80
变更
1
隐藏空白更改
内联
并排
Showing
1 changed file
with
133 addition
and
0 deletion
+133
-0
RELEASES.txt
RELEASES.txt
+133
-0
未找到文件。
RELEASES.txt
浏览文件 @
1fefa5b5
Version 0.11 (July 2014)
-------------------------
* ~1700 cahnges, numerous bugfixes
* Language
* ~[T] has been removed from the language. This type is superseded by
the Vec<T> type.
* ~str has been removed from the language. This type is superseded by
the String type.
* ~T has been removed from the language. This type is superseded by the
Box<T> type.
* @T has been removed from the language. This type is superseded by the
standard library's std::gc::Gc<T> type.
* Struct fields are now all private by default.
* Vector indices and shift amounts are both required to be a `uint` now
instead of any integral type.
* Byte character, byte string, and raw byte string literals are now all
supported by prefixing the normal literal with a `b`.
* Multiple ABIs are no longer allowed in an ABI string
* The syntax for lifetimes on clousres/procedures has been tweaked
slightly.
* Floating point modulus has been removed from the language, it is still
provided by a library implementation, however.
* Private enum variants are now disallowed.
* The `priv` keyword has been removed from the language.
* A closure can no longer be invoked through a &-pointer.
* The `use foo, bar, baz;` syntax has been removed from the language.
* The transmute intrinsic no longer works on type parameters.
* Statics now allow blocks/items in their definition.
* Trait bounds are separated from objects with + instead of : now.
* Mutably borrowed objects can no longer be read while they are
borrowed.
* The address of a static is now marked as insignificant unless the
#[inline(never)] attribute is placed on a static.
* The #[unsafe_destructor] attribute is now behind a feature gate.
* Struct literals are no longer allowed in ambiguous positions such as
if, while, match, and for..in.
* Declaration of lang items and intrinsics are now feature-gated by
default.
* Integral literals no longer default to `int`, and floating point
literals no longer default to `f64`. Literals must be suffixed with an
appropriate type if inference cannot determine the type of the
literal.
* The Box<T> type is no longer implicitly borrowed to &mut T.
* Procedures are now required to not capture borrowed references.
* Libraries
* The standard library is now a "facade" over a number of underlying
libraries. This means that development on the standard library should
be speeder due to less to compile, as well as a clearer line between
all dependencies.
* A new library, libcore, lives under the standard library's facade
which is Rust's "0-assumption" library, suitable for embedded and
kernel development for example.
* A regex crate has been added to the standard distribution. This crate
includes statically compiled regulard expressions.
* The unwrap/unwrap_err methods on Result require a Show bound for
better error messages.
* The return types of the std::comm primitives have been centralized
around the Result type.
* A number of I/O primitives have gained the ability to time out their
operations.
* A number of I/O primitives have gained the ability to close their
reading/writing halves to cancel pending operations.
* Reverse iterator methods have been removed in favor of `rev()` on
their forward-iteration counterparts.
* A bitflags! macro has been added to enable easy interop with C and
management of bit flags.
* A debug_assert! macro is now provided which is disabled when
`--cfg ndebug` is passed to the compiler.
* A graphviz crate has been added for creating .dot files.
* The std::cast module has been migrated into std::mem.
* The std::local_data api has been migrated from freestanding functions
to based on methods.
* The Pod trait has been renamed to Copy.
* jemalloc has been added as the default allocator for types.
* The api for allocating memory in rust has been modified for sized
deallocation as well as using proper alignment.
* Connecting a TcpStream or binding a TcpListener is now based on a
string address and a u16 port. This allows connecting to a hostname as
opposed to an IP.
* The Reader trait now contains a core method, read_at_least(), which
correctly handles many repeated 0-length reads.
* The process-spawning API is now centered around a builder-style
Command struct.
* The :? printing qualifier has been moved from the standard library to
an external libdebug crate.
* Eq/Ord have been renamed to PartialEq/PartialOrd. TotalEq/TotalOrd
have been renamed to Eq/Ord.
* The select/plural methods have been removed from format!. The escapes
for { and } have also changed from \{ and \} to {{ and }},
respectively.
* The TaskBuilder API has been re-worked to be a true builder, and
extension traits for spawning native/green tasks have been added.
* Tooling
* All breaking changes to the language or libraries now have their
commit message annotated with `[breaking-change]` to allow for easy
discovery of breaking changes.
* The compiler will now try to suggest how to annotate lifetimes if a
lifetime-related error occurs.
* Debug info continues to be improved greatly with better support for
situations such as LTO and general bug fixes.
* Usage of syntax extensions when cross-compiling has been fixed.
* The equivalent of ffunction-sections and fdata-sections have been
enabled by default with the equivalent of --gc-sections.
* The compiler is now stricter about where it will load module files
from when a module is declared via `mod foo;`.
* The #[phase(syntax)] attribute has been renamed to #[phase(plugin)].
Syntax extensions are now discovered via a "plugin registrar" type
which will be extended in the future to other various plugins.
* Lints have been restructured to allow for dynamically loadable lints.
* A number of rustdoc improvements:
* The HTML output has been visually redesigned.
* Markdown is now powered by hoedown instead of sundown.
* Searching heuristics have been greatly improved.
* The search index has been reduced in size by a great amount.
* Cross-crate documentation via `pub use` has been greatly improved.
* Primitive types are now hyperlinked and documented.
* Documentation has been moved from static.rust-lang.org/doc to
doc.rust-lang.org
* A new sandbox, play.rust-lang.org, is available for running and
sharing rust code examples on-line.
* Unused attributes are now more robustly warned about.
* The dead_code lint now warns about unused struct fields.
* Cross-compiling to iOS is now supported.
* Cross-compiling to mipsel is now supported.
* Stability attributes are now inherited by default and no longer apply
to intra-crate usage, only inter-crate usage.
* Error message related to non-exhaustive match statements have been
greatly improved.
Version 0.10 (April 2014)
-------------------------
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录