Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
int
Rust
提交
aa1163b9
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,发现更多精彩内容 >>
提交
aa1163b9
编写于
6月 27, 2014
作者:
A
Alex Crichton
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Update to 0.11.0
上级
1fefa5b5
变更
47
隐藏空白更改
内联
并排
Showing
47 changed file
with
88 addition
and
80 deletion
+88
-80
man/rustc.1
man/rustc.1
+1
-1
man/rustdoc.1
man/rustdoc.1
+1
-1
mk/main.mk
mk/main.mk
+1
-1
src/doc/README.md
src/doc/README.md
+2
-2
src/doc/guide.md
src/doc/guide.md
+3
-3
src/etc/kate/rust.xml
src/etc/kate/rust.xml
+1
-1
src/liballoc/lib.rs
src/liballoc/lib.rs
+1
-1
src/libarena/lib.rs
src/libarena/lib.rs
+2
-2
src/libcollections/lib.rs
src/libcollections/lib.rs
+2
-2
src/libcore/lib.rs
src/libcore/lib.rs
+2
-2
src/libdebug/lib.rs
src/libdebug/lib.rs
+2
-2
src/libflate/lib.rs
src/libflate/lib.rs
+2
-2
src/libfmt_macros/lib.rs
src/libfmt_macros/lib.rs
+1
-1
src/libfourcc/lib.rs
src/libfourcc/lib.rs
+2
-2
src/libgetopts/lib.rs
src/libgetopts/lib.rs
+2
-2
src/libglob/lib.rs
src/libglob/lib.rs
+2
-2
src/libgraphviz/lib.rs
src/libgraphviz/lib.rs
+2
-2
src/libgreen/lib.rs
src/libgreen/lib.rs
+2
-2
src/libhexfloat/lib.rs
src/libhexfloat/lib.rs
+2
-2
src/liblibc/lib.rs
src/liblibc/lib.rs
+5
-1
src/liblog/lib.rs
src/liblog/lib.rs
+2
-2
src/libnative/lib.rs
src/libnative/lib.rs
+2
-2
src/libnum/lib.rs
src/libnum/lib.rs
+2
-2
src/librand/lib.rs
src/librand/lib.rs
+2
-2
src/libregex/lib.rs
src/libregex/lib.rs
+2
-2
src/libregex_macros/lib.rs
src/libregex_macros/lib.rs
+2
-2
src/librlibc/lib.rs
src/librlibc/lib.rs
+2
-2
src/librustc/front/std_inject.rs
src/librustc/front/std_inject.rs
+1
-1
src/librustc/lib.rs
src/librustc/lib.rs
+2
-2
src/librustdoc/lib.rs
src/librustdoc/lib.rs
+1
-1
src/librustrt/lib.rs
src/librustrt/lib.rs
+2
-2
src/librustuv/lib.rs
src/librustuv/lib.rs
+5
-1
src/libsemver/lib.rs
src/libsemver/lib.rs
+2
-2
src/libserialize/lib.rs
src/libserialize/lib.rs
+2
-2
src/libstd/lib.rs
src/libstd/lib.rs
+2
-2
src/libsync/lib.rs
src/libsync/lib.rs
+2
-2
src/libsyntax/lib.rs
src/libsyntax/lib.rs
+2
-2
src/libterm/lib.rs
src/libterm/lib.rs
+2
-2
src/libtest/lib.rs
src/libtest/lib.rs
+2
-2
src/libtime/lib.rs
src/libtime/lib.rs
+2
-2
src/liburl/lib.rs
src/liburl/lib.rs
+2
-2
src/libuuid/lib.rs
src/libuuid/lib.rs
+2
-2
src/test/auxiliary/issue-11908-1.rs
src/test/auxiliary/issue-11908-1.rs
+1
-1
src/test/auxiliary/issue-11908-2.rs
src/test/auxiliary/issue-11908-2.rs
+1
-1
src/test/run-make/crate-data-smoke/Makefile
src/test/run-make/crate-data-smoke/Makefile
+1
-1
src/test/run-make/crate-data-smoke/crate.rs
src/test/run-make/crate-data-smoke/crate.rs
+1
-1
src/test/run-pass/use.rs
src/test/run-pass/use.rs
+1
-1
未找到文件。
man/rustc.1
浏览文件 @
aa1163b9
.TH RUSTC "1" "March 2014" "rustc 0.11
-pre
" "User Commands"
.TH RUSTC "1" "March 2014" "rustc 0.11
.0
" "User Commands"
.SH NAME
rustc \- The Rust compiler
.SH SYNOPSIS
...
...
man/rustdoc.1
浏览文件 @
aa1163b9
.TH RUSTDOC "1" "March 2014" "rustdoc 0.11
-pre
" "User Commands"
.TH RUSTDOC "1" "March 2014" "rustdoc 0.11
.0
" "User Commands"
.SH NAME
rustdoc \- generate documentation from Rust source code
.SH SYNOPSIS
...
...
mk/main.mk
浏览文件 @
aa1163b9
...
...
@@ -14,7 +14,7 @@
# The version number
CFG_RELEASE_NUM
=
0.11.0
CFG_RELEASE_LABEL
=
-pre
CFG_RELEASE_LABEL
=
ifndef
CFG_ENABLE_NIGHTLY
# This is the normal version string
...
...
src/doc/README.md
浏览文件 @
aa1163b9
...
...
@@ -53,12 +53,12 @@ To generate .pot and .po files, do something like:
~~~~
po4a --copyright-holder="The Rust Project Developers" \
--package-name="Rust" \
--package-version="0.11.0
-pre
" \
--package-version="0.11.0" \
-M UTF-8 -L UTF-8 \
src/doc/po4a.conf
~~~~
(the version number must be changed if it is not 0.11.0
-pre
now.)
(the version number must be changed if it is not 0.11.0 now.)
Now you can translate documents with .po files, commonly used with gettext. If
you are not familiar with gettext-based translation, please read the online
...
...
src/doc/guide.md
浏览文件 @
aa1163b9
...
...
@@ -53,7 +53,7 @@ an uninstall option.
You can re-run this script any time you want to update Rust. Which, at this
point, is often. Rust is still pre-1.0, and so people assume that you're using
a very recent Rust.
a very recent Rust.
This brings me to one other point: some people, and somewhat rightfully so, get
very upset when we tell you to
`curl | sudo sh`
. And they should be! Basically,
...
...
@@ -168,7 +168,7 @@ Success! Let's go over what just happened in detail.
```
fn main() {
}
```
...
...
@@ -394,7 +394,7 @@ Once you have this file in place, we should be ready to build! Try this:
```
{bash}
$ cargo build
Compiling hello_world v0.1.0 (file:/home/yourname/projects/hello_world)
$ ./target/hello_world
$ ./target/hello_world
Hello, world!
```
...
...
src/etc/kate/rust.xml
浏览文件 @
aa1163b9
...
...
@@ -7,7 +7,7 @@
<!ENTITY rustIdent "[a-zA-Z_][a-zA-Z_0-9]*">
<!ENTITY rustIntSuf "([iu](8|16|32|64)?)?">
]>
<language
name=
"Rust"
version=
"0.11.0
-pre
"
kateversion=
"2.4"
section=
"Sources"
extensions=
"*.rs"
mimetype=
"text/x-rust"
priority=
"15"
>
<language
name=
"Rust"
version=
"0.11.0"
kateversion=
"2.4"
section=
"Sources"
extensions=
"*.rs"
mimetype=
"text/x-rust"
priority=
"15"
>
<highlighting>
<list
name=
"fn"
>
<item>
fn
</item>
...
...
src/liballoc/lib.rs
浏览文件 @
aa1163b9
...
...
@@ -60,7 +60,7 @@
//! by libc malloc/free. The `libc_heap` module is defined to be wired up to
//! the system malloc/free.
#![crate_id
=
"alloc#0.11.0
-pre
"
]
#![crate_id
=
"alloc#0.11.0"
]
#![experimental]
#![license
=
"MIT/ASL2"
]
#![crate_type
=
"rlib"
]
...
...
src/libarena/lib.rs
浏览文件 @
aa1163b9
...
...
@@ -19,14 +19,14 @@
//! arena but can only hold objects of a single type, and Arena, which is a
//! more complex, slower Arena which can hold objects of any type.
#![crate_id
=
"arena#0.11.0
-pre
"
]
#![crate_id
=
"arena#0.11.0"
]
#![experimental]
#![crate_type
=
"rlib"
]
#![crate_type
=
"dylib"
]
#![license
=
"MIT/ASL2"
]
#![doc(html_logo_url
=
"http://www.rust-lang.org/logos/rust-logo-128x128-blk-v2.png"
,
html_favicon_url
=
"http://www.rust-lang.org/favicon.ico"
,
html_root_url
=
"http://doc.rust-lang.org/"
)]
html_root_url
=
"http://doc.rust-lang.org/
0.11.0/
"
)]
#![feature(unsafe_destructor)]
#![allow(missing_doc)]
...
...
src/libcollections/lib.rs
浏览文件 @
aa1163b9
...
...
@@ -12,13 +12,13 @@
* Collection types.
*/
#![crate_id
=
"collections#0.11.0
-pre
"
]
#![crate_id
=
"collections#0.11.0"
]
#![experimental]
#![crate_type
=
"rlib"
]
#![license
=
"MIT/ASL2"
]
#![doc(html_logo_url
=
"http://www.rust-lang.org/logos/rust-logo-128x128-blk-v2.png"
,
html_favicon_url
=
"http://www.rust-lang.org/favicon.ico"
,
html_root_url
=
"http://doc.rust-lang.org/"
,
html_root_url
=
"http://doc.rust-lang.org/
0.11.0/
"
,
html_playground_url
=
"http://play.rust-lang.org/"
)]
#![feature(macro_rules,
managed_boxes,
default_type_params,
phase,
globs)]
...
...
src/libcore/lib.rs
浏览文件 @
aa1163b9
...
...
@@ -45,13 +45,13 @@
//! function; it is only required to never return.
//!
#![crate_id
=
"core#0.11.0
-pre
"
]
#![crate_id
=
"core#0.11.0"
]
#![experimental]
#![license
=
"MIT/ASL2"
]
#![crate_type
=
"rlib"
]
#![doc(html_logo_url
=
"http://www.rust-lang.org/logos/rust-logo-128x128-blk-v2.png"
,
html_favicon_url
=
"http://www.rust-lang.org/favicon.ico"
,
html_root_url
=
"http://doc.rust-lang.org/"
,
html_root_url
=
"http://doc.rust-lang.org/
0.11.0/
"
,
html_playground_url
=
"http://play.rust-lang.org/"
)]
#![no_std]
...
...
src/libdebug/lib.rs
浏览文件 @
aa1163b9
...
...
@@ -16,14 +16,14 @@
//! Additionally, it is not guaranteed that functionality such as reflection
//! will persist into the future.
#![crate_id
=
"debug#0.11.0
-pre
"
]
#![crate_id
=
"debug#0.11.0"
]
#![experimental]
#![license
=
"MIT/ASL2"
]
#![crate_type
=
"rlib"
]
#![crate_type
=
"dylib"
]
#![doc(html_logo_url
=
"http://www.rust-lang.org/logos/rust-logo-128x128-blk-v2.png"
,
html_favicon_url
=
"http://www.rust-lang.org/favicon.ico"
,
html_root_url
=
"http://doc.rust-lang.org/"
)]
html_root_url
=
"http://doc.rust-lang.org/
0.11.0/
"
)]
#![experimental]
#![feature(managed_boxes,
macro_rules)]
#![allow(experimental)]
...
...
src/libflate/lib.rs
浏览文件 @
aa1163b9
...
...
@@ -18,14 +18,14 @@
*/
#![crate_id
=
"flate#0.11.0
-pre
"
]
#![crate_id
=
"flate#0.11.0"
]
#![experimental]
#![crate_type
=
"rlib"
]
#![crate_type
=
"dylib"
]
#![license
=
"MIT/ASL2"
]
#![doc(html_logo_url
=
"http://www.rust-lang.org/logos/rust-logo-128x128-blk-v2.png"
,
html_favicon_url
=
"http://www.rust-lang.org/favicon.ico"
,
html_root_url
=
"http://doc.rust-lang.org/"
)]
html_root_url
=
"http://doc.rust-lang.org/
0.11.0/
"
)]
#![feature(phase)]
#[cfg(test)]
#[phase(plugin,
link)]
extern
crate
log
;
...
...
src/libfmt_macros/lib.rs
浏览文件 @
aa1163b9
...
...
@@ -14,7 +14,7 @@
//! Parsing does not happen at runtime: structures of `std::fmt::rt` are
//! generated instead.
#![crate_id
=
"fmt_macros#0.11.0
-pre
"
]
#![crate_id
=
"fmt_macros#0.11.0"
]
#![experimental]
#![license
=
"MIT/ASL2"
]
#![crate_type
=
"rlib"
]
...
...
src/libfourcc/lib.rs
浏览文件 @
aa1163b9
...
...
@@ -39,14 +39,14 @@ fn main() {
*/
#![crate_id
=
"fourcc#0.11.0
-pre
"
]
#![crate_id
=
"fourcc#0.11.0"
]
#![experimental]
#![crate_type
=
"rlib"
]
#![crate_type
=
"dylib"
]
#![license
=
"MIT/ASL2"
]
#![doc(html_logo_url
=
"http://www.rust-lang.org/logos/rust-logo-128x128-blk-v2.png"
,
html_favicon_url
=
"http://www.rust-lang.org/favicon.ico"
,
html_root_url
=
"http://doc.rust-lang.org/"
)]
html_root_url
=
"http://doc.rust-lang.org/
0.11.0/
"
)]
#![feature(plugin_registrar,
managed_boxes)]
...
...
src/libgetopts/lib.rs
浏览文件 @
aa1163b9
...
...
@@ -76,14 +76,14 @@
//! }
//! ~~~
#![crate_id
=
"getopts#0.11.0
-pre
"
]
#![crate_id
=
"getopts#0.11.0"
]
#![experimental]
#![crate_type
=
"rlib"
]
#![crate_type
=
"dylib"
]
#![license
=
"MIT/ASL2"
]
#![doc(html_logo_url
=
"http://www.rust-lang.org/logos/rust-logo-128x128-blk-v2.png"
,
html_favicon_url
=
"http://www.rust-lang.org/favicon.ico"
,
html_root_url
=
"http://doc.rust-lang.org/"
,
html_root_url
=
"http://doc.rust-lang.org/
0.11.0/
"
,
html_playground_url
=
"http://play.rust-lang.org/"
)]
#![feature(globs,
phase)]
#![deny(missing_doc)]
...
...
src/libglob/lib.rs
浏览文件 @
aa1163b9
...
...
@@ -23,14 +23,14 @@
* `glob`/`fnmatch` functions.
*/
#![crate_id
=
"glob#0.11.0
-pre
"
]
#![crate_id
=
"glob#0.11.0"
]
#![experimental]
#![crate_type
=
"rlib"
]
#![crate_type
=
"dylib"
]
#![license
=
"MIT/ASL2"
]
#![doc(html_logo_url
=
"http://www.rust-lang.org/logos/rust-logo-128x128-blk-v2.png"
,
html_favicon_url
=
"http://www.rust-lang.org/favicon.ico"
,
html_root_url
=
"http://doc.rust-lang.org/"
,
html_root_url
=
"http://doc.rust-lang.org/
0.11.0/
"
,
html_playground_url
=
"http://play.rust-lang.org/"
)]
use
std
::
cell
::
Cell
;
...
...
src/libgraphviz/lib.rs
浏览文件 @
aa1163b9
...
...
@@ -266,14 +266,14 @@ pub fn main() {
*/
#![crate_id
=
"graphviz#0.11.0
-pre
"
]
#![crate_id
=
"graphviz#0.11.0"
]
#![experimental]
#![crate_type
=
"rlib"
]
#![crate_type
=
"dylib"
]
#![license
=
"MIT/ASL2"
]
#![doc(html_logo_url
=
"http://www.rust-lang.org/logos/rust-logo-128x128-blk-v2.png"
,
html_favicon_url
=
"http://www.rust-lang.org/favicon.ico"
,
html_root_url
=
"http://doc.rust-lang.org/"
)]
html_root_url
=
"http://doc.rust-lang.org/
0.11.0/
"
)]
#![experimental]
...
...
src/libgreen/lib.rs
浏览文件 @
aa1163b9
...
...
@@ -197,14 +197,14 @@
//! pool.shutdown();
//! ```
#![crate_id
=
"green#0.11.0
-pre
"
]
#![crate_id
=
"green#0.11.0"
]
#![experimental]
#![license
=
"MIT/ASL2"
]
#![crate_type
=
"rlib"
]
#![crate_type
=
"dylib"
]
#![doc(html_logo_url
=
"http://www.rust-lang.org/logos/rust-logo-128x128-blk-v2.png"
,
html_favicon_url
=
"http://www.rust-lang.org/favicon.ico"
,
html_root_url
=
"http://doc.rust-lang.org/"
,
html_root_url
=
"http://doc.rust-lang.org/
0.11.0/
"
,
html_playground_url
=
"http://play.rust-lang.org/"
)]
// NB this does *not* include globs, please keep it that way.
...
...
src/libhexfloat/lib.rs
浏览文件 @
aa1163b9
...
...
@@ -36,14 +36,14 @@ fn main() {
*/
#![crate_id
=
"hexfloat#0.11.0
-pre
"
]
#![crate_id
=
"hexfloat#0.11.0"
]
#![experimental]
#![crate_type
=
"rlib"
]
#![crate_type
=
"dylib"
]
#![license
=
"MIT/ASL2"
]
#![doc(html_logo_url
=
"http://www.rust-lang.org/logos/rust-logo-128x128-blk-v2.png"
,
html_favicon_url
=
"http://www.rust-lang.org/favicon.ico"
,
html_root_url
=
"http://doc.rust-lang.org/"
)]
html_root_url
=
"http://doc.rust-lang.org/
0.11.0/
"
)]
#![feature(plugin_registrar,
managed_boxes)]
extern
crate
syntax
;
...
...
src/liblibc/lib.rs
浏览文件 @
aa1163b9
...
...
@@ -9,11 +9,15 @@
// except according to those terms.
#![feature(globs)]
#![crate_id
=
"libc#0.11.0
-pre
"
]
#![crate_id
=
"libc#0.11.0"
]
#![experimental]
#![no_std]
// we don't need std, and we can't have std, since it doesn't exist
// yet. std depends on us.
#![crate_type
=
"rlib"
]
#![doc(html_logo_url
=
"http://www.rust-lang.org/logos/rust-logo-128x128-blk-v2.png"
,
html_favicon_url
=
"http://www.rust-lang.org/favicon.ico"
,
html_root_url
=
"http://doc.rust-lang.org/0.11.0/"
,
html_playground_url
=
"http://play.rust-lang.org/"
)]
/*!
* Bindings for the C standard library and other platform libraries
...
...
src/liblog/lib.rs
浏览文件 @
aa1163b9
...
...
@@ -105,14 +105,14 @@ fn main() {
*/
#![crate_id
=
"log#0.11.0
-pre
"
]
#![crate_id
=
"log#0.11.0"
]
#![experimental]
#![license
=
"MIT/ASL2"
]
#![crate_type
=
"rlib"
]
#![crate_type
=
"dylib"
]
#![doc(html_logo_url
=
"http://www.rust-lang.org/logos/rust-logo-128x128-blk-v2.png"
,
html_favicon_url
=
"http://www.rust-lang.org/favicon.ico"
,
html_root_url
=
"http://doc.rust-lang.org/"
,
html_root_url
=
"http://doc.rust-lang.org/
0.11.0/
"
,
html_playground_url
=
"http://play.rust-lang.org/"
)]
#![feature(macro_rules)]
...
...
src/libnative/lib.rs
浏览文件 @
aa1163b9
...
...
@@ -44,14 +44,14 @@
//! }
//! ```
#![crate_id
=
"native#0.11.0
-pre
"
]
#![crate_id
=
"native#0.11.0"
]
#![experimental]
#![license
=
"MIT/ASL2"
]
#![crate_type
=
"rlib"
]
#![crate_type
=
"dylib"
]
#![doc(html_logo_url
=
"http://www.rust-lang.org/logos/rust-logo-128x128-blk-v2.png"
,
html_favicon_url
=
"http://www.rust-lang.org/favicon.ico"
,
html_root_url
=
"http://doc.rust-lang.org/"
)]
html_root_url
=
"http://doc.rust-lang.org/
0.11.0/
"
)]
#![deny(unused_result,
unused_must_use)]
#![allow(non_camel_case_types,
deprecated)]
...
...
src/libnum/lib.rs
浏览文件 @
aa1163b9
...
...
@@ -44,14 +44,14 @@
#![feature(macro_rules)]
#![crate_id
=
"num#0.11.0
-pre
"
]
#![crate_id
=
"num#0.11.0"
]
#![experimental]
#![crate_type
=
"rlib"
]
#![crate_type
=
"dylib"
]
#![license
=
"MIT/ASL2"
]
#![doc(html_logo_url
=
"http://www.rust-lang.org/logos/rust-logo-128x128-blk-v2.png"
,
html_favicon_url
=
"http://www.rust-lang.org/favicon.ico"
,
html_root_url
=
"http://doc.rust-lang.org/"
,
html_root_url
=
"http://doc.rust-lang.org/
0.11.0/
"
,
html_playground_url
=
"http://play.rust-lang.org/"
)]
#![allow(deprecated)]
// from_str_radix
...
...
src/librand/lib.rs
浏览文件 @
aa1163b9
...
...
@@ -16,12 +16,12 @@
//! is not recommended to use this library directly, but rather the official
//! interface through `std::rand`.
#![crate_id
=
"rand#0.11.0
-pre
"
]
#![crate_id
=
"rand#0.11.0"
]
#![license
=
"MIT/ASL2"
]
#![crate_type
=
"rlib"
]
#![doc(html_logo_url
=
"http://www.rust-lang.org/logos/rust-logo-128x128-blk.png"
,
html_favicon_url
=
"http://www.rust-lang.org/favicon.ico"
,
html_root_url
=
"http://doc.rust-lang.org/"
,
html_root_url
=
"http://doc.rust-lang.org/
0.11.0/
"
,
html_playground_url
=
"http://play.rust-lang.org/"
)]
#![feature(macro_rules,
phase,
globs)]
...
...
src/libregex/lib.rs
浏览文件 @
aa1163b9
...
...
@@ -353,14 +353,14 @@
//! characters in the search text and `m` is the number of instructions in a
//! compiled expression.
#![crate_id
=
"regex#0.11.0
-pre
"
]
#![crate_id
=
"regex#0.11.0"
]
#![crate_type
=
"rlib"
]
#![crate_type
=
"dylib"
]
#![experimental]
#![license
=
"MIT/ASL2"
]
#![doc(html_logo_url
=
"http://www.rust-lang.org/logos/rust-logo-128x128-blk-v2.png"
,
html_favicon_url
=
"http://www.rust-lang.org/favicon.ico"
,
html_root_url
=
"http://doc.rust-lang.org/"
,
html_root_url
=
"http://doc.rust-lang.org/
0.11.0/
"
,
html_playground_url
=
"http://play.rust-lang.org/"
)]
#![feature(macro_rules,
phase)]
...
...
src/libregex_macros/lib.rs
浏览文件 @
aa1163b9
...
...
@@ -11,13 +11,13 @@
//! This crate provides the `regex!` macro. Its use is documented in the
//! `regex` crate.
#![crate_id
=
"regex_macros#0.11.0
-pre
"
]
#![crate_id
=
"regex_macros#0.11.0"
]
#![crate_type
=
"dylib"
]
#![experimental]
#![license
=
"MIT/ASL2"
]
#![doc(html_logo_url
=
"http://www.rust-lang.org/logos/rust-logo-128x128-blk-v2.png"
,
html_favicon_url
=
"http://www.rust-lang.org/favicon.ico"
,
html_root_url
=
"http://doc.rust-lang.org/"
)]
html_root_url
=
"http://doc.rust-lang.org/
0.11.0/
"
)]
#![feature(plugin_registrar,
managed_boxes,
quote)]
...
...
src/librlibc/lib.rs
浏览文件 @
aa1163b9
...
...
@@ -20,12 +20,12 @@
//! necessary. It is an error to include this library when also linking with
//! the system libc library.
#![crate_id
=
"rlibc#0.11.0
-pre
"
]
#![crate_id
=
"rlibc#0.11.0"
]
#![license
=
"MIT/ASL2"
]
#![crate_type
=
"rlib"
]
#![doc(html_logo_url
=
"http://www.rust-lang.org/logos/rust-logo-128x128-blk-v2.png"
,
html_favicon_url
=
"http://www.rust-lang.org/favicon.ico"
,
html_root_url
=
"http://doc.rust-lang.org/"
)]
html_root_url
=
"http://doc.rust-lang.org/
0.11.0/
"
)]
#![feature(intrinsics)]
#![allow(unknown_features)]
// NOTE: remove after stage0 snapshot
...
...
src/librustc/front/std_inject.rs
浏览文件 @
aa1163b9
...
...
@@ -25,7 +25,7 @@
use
std
::
mem
;
use
std
::
gc
::{
Gc
,
GC
};
pub
static
VERSION
:
&
'static
str
=
"0.11.0
-pre
"
;
pub
static
VERSION
:
&
'static
str
=
"0.11.0"
;
pub
fn
maybe_inject_crates_ref
(
sess
:
&
Session
,
krate
:
ast
::
Crate
)
->
ast
::
Crate
{
...
...
src/librustc/lib.rs
浏览文件 @
aa1163b9
...
...
@@ -18,7 +18,7 @@
*/
#![crate_id
=
"rustc#0.11.0
-pre
"
]
#![crate_id
=
"rustc#0.11.0"
]
#![experimental]
#![comment
=
"The Rust compiler"
]
#![license
=
"MIT/ASL2"
]
...
...
@@ -26,7 +26,7 @@
#![crate_type
=
"rlib"
]
#![doc(html_logo_url
=
"http://www.rust-lang.org/logos/rust-logo-128x128-blk-v2.png"
,
html_favicon_url
=
"http://www.rust-lang.org/favicon.ico"
,
html_root_url
=
"http://doc.rust-lang.org/"
)]
html_root_url
=
"http://doc.rust-lang.org/
0.11.0/
"
)]
#![allow(deprecated)]
#![feature(macro_rules,
globs,
struct_variant,
managed_boxes,
quote)]
...
...
src/librustdoc/lib.rs
浏览文件 @
aa1163b9
...
...
@@ -8,7 +8,7 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.
#![crate_id
=
"rustdoc#0.11.0
-pre
"
]
#![crate_id
=
"rustdoc#0.11.0"
]
#![experimental]
#![desc
=
"rustdoc, the Rust documentation extractor"
]
#![license
=
"MIT/ASL2"
]
...
...
src/librustrt/lib.rs
浏览文件 @
aa1163b9
...
...
@@ -8,13 +8,13 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.
#![crate_id
=
"rustrt#0.11.0
-pre
"
]
#![crate_id
=
"rustrt#0.11.0"
]
#![license
=
"MIT/ASL2"
]
#![crate_type
=
"rlib"
]
#![crate_type
=
"dylib"
]
#![doc(html_logo_url
=
"http://www.rust-lang.org/logos/rust-logo-128x128-blk-v2.png"
,
html_favicon_url
=
"http://www.rust-lang.org/favicon.ico"
,
html_root_url
=
"http://doc.rust-lang.org/"
)]
html_root_url
=
"http://doc.rust-lang.org/
0.11.0/
"
)]
#![feature(macro_rules,
phase,
globs,
thread_local,
managed_boxes,
asm)]
#![feature(linkage,
lang_items,
unsafe_destructor)]
...
...
src/librustuv/lib.rs
浏览文件 @
aa1163b9
...
...
@@ -34,11 +34,15 @@
*/
#![crate_id
=
"rustuv#0.11.0
-pre
"
]
#![crate_id
=
"rustuv#0.11.0"
]
#![experimental]
#![license
=
"MIT/ASL2"
]
#![crate_type
=
"rlib"
]
#![crate_type
=
"dylib"
]
#![doc(html_logo_url
=
"http://www.rust-lang.org/logos/rust-logo-128x128-blk-v2.png"
,
html_favicon_url
=
"http://www.rust-lang.org/favicon.ico"
,
html_root_url
=
"http://doc.rust-lang.org/0.11.0/"
,
html_playground_url
=
"http://play.rust-lang.org/"
)]
#![feature(macro_rules,
unsafe_destructor)]
#![deny(unused_result,
unused_must_use)]
...
...
src/libsemver/lib.rs
浏览文件 @
aa1163b9
...
...
@@ -28,14 +28,14 @@
//! An example version number with all five components is
//! `0.8.1-rc.3.0+20130922.linux`.
#![crate_id
=
"semver#0.11.0
-pre
"
]
#![crate_id
=
"semver#0.11.0"
]
#![experimental]
#![crate_type
=
"rlib"
]
#![crate_type
=
"dylib"
]
#![license
=
"MIT/ASL2"
]
#![doc(html_logo_url
=
"http://www.rust-lang.org/logos/rust-logo-128x128-blk-v2.png"
,
html_favicon_url
=
"http://www.rust-lang.org/favicon.ico"
,
html_root_url
=
"http://doc.rust-lang.org/"
)]
html_root_url
=
"http://doc.rust-lang.org/
0.11.0/
"
)]
use
std
::
char
;
use
std
::
cmp
;
...
...
src/libserialize/lib.rs
浏览文件 @
aa1163b9
...
...
@@ -14,14 +14,14 @@
Core encoding and decoding interfaces.
*/
#![crate_id
=
"serialize#0.11.0
-pre
"
]
#![crate_id
=
"serialize#0.11.0"
]
#![experimental]
#![crate_type
=
"rlib"
]
#![crate_type
=
"dylib"
]
#![license
=
"MIT/ASL2"
]
#![doc(html_logo_url
=
"http://www.rust-lang.org/logos/rust-logo-128x128-blk-v2.png"
,
html_favicon_url
=
"http://www.rust-lang.org/favicon.ico"
,
html_root_url
=
"http://doc.rust-lang.org/"
,
html_root_url
=
"http://doc.rust-lang.org/
0.11.0/
"
,
html_playground_url
=
"http://play.rust-lang.org/"
)]
#![feature(macro_rules,
managed_boxes,
default_type_params,
phase)]
...
...
src/libstd/lib.rs
浏览文件 @
aa1163b9
...
...
@@ -94,14 +94,14 @@
//! all the standard macros, such as `assert!`, `fail!`, `println!`,
//! and `format!`, also available to all Rust code.
#![crate_id
=
"std#0.11.0
-pre
"
]
#![crate_id
=
"std#0.11.0"
]
#![comment
=
"The Rust standard library"
]
#![license
=
"MIT/ASL2"
]
#![crate_type
=
"rlib"
]
#![crate_type
=
"dylib"
]
#![doc(html_logo_url
=
"http://www.rust-lang.org/logos/rust-logo-128x128-blk-v2.png"
,
html_favicon_url
=
"http://www.rust-lang.org/favicon.ico"
,
html_root_url
=
"http://doc.rust-lang.org/"
,
html_root_url
=
"http://doc.rust-lang.org/
0.11.0/
"
,
html_playground_url
=
"http://play.rust-lang.org/"
)]
#![feature(macro_rules,
globs,
managed_boxes,
linkage)]
...
...
src/libsync/lib.rs
浏览文件 @
aa1163b9
...
...
@@ -17,14 +17,14 @@
//! use this crate specifically. Instead, its functionality is reexported
//! through `std::sync`.
#![crate_id
=
"sync#0.11.0
-pre
"
]
#![crate_id
=
"sync#0.11.0"
]
#![experimental]
#![crate_type
=
"rlib"
]
#![crate_type
=
"dylib"
]
#![license
=
"MIT/ASL2"
]
#![doc(html_logo_url
=
"http://www.rust-lang.org/logos/rust-logo-128x128-blk-v2.png"
,
html_favicon_url
=
"http://www.rust-lang.org/favicon.ico"
,
html_root_url
=
"http://doc.rust-lang.org/"
,
html_root_url
=
"http://doc.rust-lang.org/
0.11.0/
"
,
html_playground_url
=
"http://play.rust-lang.org/"
)]
#![feature(phase,
globs,
macro_rules,
unsafe_destructor)]
...
...
src/libsyntax/lib.rs
浏览文件 @
aa1163b9
...
...
@@ -18,14 +18,14 @@
*/
#![crate_id
=
"syntax#0.11.0
-pre
"
]
#![crate_id
=
"syntax#0.11.0"
]
#![experimental]
#![license
=
"MIT/ASL2"
]
#![crate_type
=
"dylib"
]
#![crate_type
=
"rlib"
]
#![doc(html_logo_url
=
"http://www.rust-lang.org/logos/rust-logo-128x128-blk-v2.png"
,
html_favicon_url
=
"http://www.rust-lang.org/favicon.ico"
,
html_root_url
=
"http://doc.rust-lang.org/"
)]
html_root_url
=
"http://doc.rust-lang.org/
0.11.0/
"
)]
#![feature(macro_rules,
globs,
managed_boxes,
default_type_params,
phase)]
#![feature(quote,
unsafe_destructor)]
...
...
src/libterm/lib.rs
浏览文件 @
aa1163b9
...
...
@@ -38,7 +38,7 @@
//! [win]: http://msdn.microsoft.com/en-us/library/windows/desktop/ms682010%28v=vs.85%29.aspx
//! [ti]: https://en.wikipedia.org/wiki/Terminfo
#![crate_id
=
"term#0.11.0
-pre
"
]
#![crate_id
=
"term#0.11.0"
]
#![experimental]
#![comment
=
"Simple ANSI color library"
]
#![license
=
"MIT/ASL2"
]
...
...
@@ -46,7 +46,7 @@
#![crate_type
=
"dylib"
]
#![doc(html_logo_url
=
"http://www.rust-lang.org/logos/rust-logo-128x128-blk-v2.png"
,
html_favicon_url
=
"http://www.rust-lang.org/favicon.ico"
,
html_root_url
=
"http://doc.rust-lang.org/"
,
html_root_url
=
"http://doc.rust-lang.org/
0.11.0/
"
,
html_playground_url
=
"http://play.rust-lang.org/"
)]
#![feature(macro_rules,
phase)]
...
...
src/libtest/lib.rs
浏览文件 @
aa1163b9
...
...
@@ -23,7 +23,7 @@
// running tests while providing a base that other test frameworks may
// build off of.
#![crate_id
=
"test#0.11.0
-pre
"
]
#![crate_id
=
"test#0.11.0"
]
#![experimental]
#![comment
=
"Rust internal test library only used by rustc"
]
#![license
=
"MIT/ASL2"
]
...
...
@@ -31,7 +31,7 @@
#![crate_type
=
"dylib"
]
#![doc(html_logo_url
=
"http://www.rust-lang.org/logos/rust-logo-128x128-blk-v2.png"
,
html_favicon_url
=
"http://www.rust-lang.org/favicon.ico"
,
html_root_url
=
"http://doc.rust-lang.org/"
)]
html_root_url
=
"http://doc.rust-lang.org/
0.11.0/
"
)]
#![feature(asm,
macro_rules,
phase)]
...
...
src/libtime/lib.rs
浏览文件 @
aa1163b9
...
...
@@ -10,7 +10,7 @@
//! Simple time handling.
#![crate_id
=
"time#0.11.0
-pre
"
]
#![crate_id
=
"time#0.11.0"
]
#![experimental]
#![crate_type
=
"rlib"
]
...
...
@@ -18,7 +18,7 @@
#![license
=
"MIT/ASL2"
]
#![doc(html_logo_url
=
"http://www.rust-lang.org/logos/rust-logo-128x128-blk-v2.png"
,
html_favicon_url
=
"http://www.rust-lang.org/favicon.ico"
,
html_root_url
=
"http://doc.rust-lang.org/"
,
html_root_url
=
"http://doc.rust-lang.org/
0.11.0/
"
,
html_playground_url
=
"http://play.rust-lang.org/"
)]
#![feature(phase)]
...
...
src/liburl/lib.rs
浏览文件 @
aa1163b9
...
...
@@ -10,14 +10,14 @@
//! Types/fns concerning URLs (see RFC 3986)
#![crate_id
=
"url#0.11.0
-pre
"
]
#![crate_id
=
"url#0.11.0"
]
#![experimental]
#![crate_type
=
"rlib"
]
#![crate_type
=
"dylib"
]
#![license
=
"MIT/ASL2"
]
#![doc(html_logo_url
=
"http://www.rust-lang.org/logos/rust-logo-128x128-blk-v2.png"
,
html_favicon_url
=
"http://www.rust-lang.org/favicon.ico"
,
html_root_url
=
"http://doc.rust-lang.org/"
,
html_root_url
=
"http://doc.rust-lang.org/
0.11.0/
"
,
html_playground_url
=
"http://play.rust-lang.org/"
)]
#![feature(default_type_params)]
...
...
src/libuuid/lib.rs
浏览文件 @
aa1163b9
...
...
@@ -54,14 +54,14 @@ fn main() {
*/
#![crate_id
=
"uuid#0.11.0
-pre
"
]
#![crate_id
=
"uuid#0.11.0"
]
#![experimental]
#![crate_type
=
"rlib"
]
#![crate_type
=
"dylib"
]
#![license
=
"MIT/ASL2"
]
#![doc(html_logo_url
=
"http://www.rust-lang.org/logos/rust-logo-128x128-blk-v2.png"
,
html_favicon_url
=
"http://www.rust-lang.org/favicon.ico"
,
html_root_url
=
"http://doc.rust-lang.org/"
,
html_root_url
=
"http://doc.rust-lang.org/
0.11.0/
"
,
html_playground_url
=
"http://play.rust-lang.org/"
)]
#![feature(default_type_params)]
...
...
src/test/auxiliary/issue-11908-1.rs
浏览文件 @
aa1163b9
...
...
@@ -10,5 +10,5 @@
// no-prefer-dynamic
#![crate_id
=
"url#0.11.0
-pre
"
]
#![crate_id
=
"url#0.11.0"
]
#![crate_type
=
"dylib"
]
src/test/auxiliary/issue-11908-2.rs
浏览文件 @
aa1163b9
...
...
@@ -10,5 +10,5 @@
// no-prefer-dynamic
#![crate_id
=
"url#0.11.0
-pre
"
]
#![crate_id
=
"url#0.11.0"
]
#![crate_type
=
"rlib"
]
src/test/run-make/crate-data-smoke/Makefile
浏览文件 @
aa1163b9
-include
../tools.mk
all
:
[
`
$(RUSTC)
--crate-id
crate.rs
`
=
"foo#0.11.0
-pre
"
]
[
`
$(RUSTC)
--crate-id
crate.rs
`
=
"foo#0.11.0"
]
[
`
$(RUSTC)
--crate-name
crate.rs
`
=
"foo"
]
[
`
$(RUSTC)
--crate-file-name
crate.rs
`
=
"foo"
]
[
`
$(RUSTC)
--crate-file-name
--crate-type
=
lib
--test
crate.rs
`
=
"foo"
]
...
...
src/test/run-make/crate-data-smoke/crate.rs
浏览文件 @
aa1163b9
...
...
@@ -8,7 +8,7 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.
#![crate_id
=
"foo#0.11.0
-pre
"
]
#![crate_id
=
"foo#0.11.0"
]
// Querying about the crate metadata should *not* parse the entire crate, it
// only needs the crate attributes (which are guaranteed to be at the top) be
...
...
src/test/run-pass/use.rs
浏览文件 @
aa1163b9
...
...
@@ -15,7 +15,7 @@
#![no_std]
extern
crate
std
;
extern
crate
zed
=
"std"
;
extern
crate
bar
=
"std#0.11.0
-pre
"
;
extern
crate
bar
=
"std#0.11.0"
;
use
std
::
str
;
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录