Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
int
Rust
提交
951ef9d1
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,发现更多精彩内容 >>
提交
951ef9d1
编写于
3月 05, 2015
作者:
A
awlnx
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
fix for new attributes failing. issue #22964
上级
b4c965ee
变更
31
隐藏空白更改
内联
并排
Showing
31 changed file
with
64 addition
and
4 deletion
+64
-4
src/liballoc/lib.rs
src/liballoc/lib.rs
+2
-0
src/libarena/lib.rs
src/libarena/lib.rs
+2
-0
src/libcollections/lib.rs
src/libcollections/lib.rs
+2
-1
src/libcore/lib.rs
src/libcore/lib.rs
+2
-0
src/libcoretest/lib.rs
src/libcoretest/lib.rs
+2
-0
src/libflate/lib.rs
src/libflate/lib.rs
+2
-0
src/libfmt_macros/lib.rs
src/libfmt_macros/lib.rs
+2
-0
src/libgetopts/lib.rs
src/libgetopts/lib.rs
+3
-0
src/libgraphviz/lib.rs
src/libgraphviz/lib.rs
+2
-0
src/liblibc/lib.rs
src/liblibc/lib.rs
+2
-0
src/liblog/lib.rs
src/liblog/lib.rs
+2
-0
src/librand/lib.rs
src/librand/lib.rs
+2
-0
src/librbml/lib.rs
src/librbml/lib.rs
+2
-0
src/librustc/lib.rs
src/librustc/lib.rs
+2
-1
src/librustc_back/lib.rs
src/librustc_back/lib.rs
+2
-0
src/librustc_bitflags/lib.rs
src/librustc_bitflags/lib.rs
+3
-0
src/librustc_borrowck/lib.rs
src/librustc_borrowck/lib.rs
+2
-0
src/librustc_driver/lib.rs
src/librustc_driver/lib.rs
+2
-0
src/librustc_lint/lib.rs
src/librustc_lint/lib.rs
+2
-0
src/librustc_llvm/lib.rs
src/librustc_llvm/lib.rs
+2
-0
src/librustc_privacy/lib.rs
src/librustc_privacy/lib.rs
+2
-0
src/librustc_resolve/lib.rs
src/librustc_resolve/lib.rs
+2
-0
src/librustc_trans/lib.rs
src/librustc_trans/lib.rs
+2
-0
src/librustc_typeck/lib.rs
src/librustc_typeck/lib.rs
+2
-1
src/librustdoc/lib.rs
src/librustdoc/lib.rs
+2
-0
src/libserialize/lib.rs
src/libserialize/lib.rs
+2
-0
src/libstd/lib.rs
src/libstd/lib.rs
+2
-1
src/libsyntax/lib.rs
src/libsyntax/lib.rs
+2
-0
src/libterm/lib.rs
src/libterm/lib.rs
+2
-0
src/libtest/lib.rs
src/libtest/lib.rs
+2
-0
src/libunicode/lib.rs
src/libunicode/lib.rs
+2
-0
未找到文件。
src/liballoc/lib.rs
浏览文件 @
951ef9d1
...
...
@@ -56,6 +56,8 @@
//! The [`heap`](heap/index.html) module defines the low-level interface to the
//! default global allocator. It is not compatible with the libc allocator API.
// Do not remove on snapshot creation. Needed for bootstrap. (Issue #22364)
#![cfg_attr(stage0,
feature(custom_attribute))]
#![crate_name
=
"alloc"
]
#![unstable(feature
=
"alloc"
)]
#![feature(staged_api)]
...
...
src/libarena/lib.rs
浏览文件 @
951ef9d1
...
...
@@ -19,6 +19,8 @@
//! 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.
// Do not remove on snapshot creation. Needed for bootstrap. (Issue #22364)
#![cfg_attr(stage0,
feature(custom_attribute))]
#![crate_name
=
"arena"
]
#![unstable(feature
=
"rustc_private"
)]
#![staged_api]
...
...
src/libcollections/lib.rs
浏览文件 @
951ef9d1
...
...
@@ -12,7 +12,8 @@
//!
//! See [std::collections](../std/collections) for a detailed discussion of collections in Rust.
// Do not remove on snapshot creation. Needed for bootstrap. (Issue #22364)
#![cfg_attr(stage0,
feature(custom_attribute))]
#![crate_name
=
"collections"
]
#![unstable(feature
=
"collections"
)]
#![staged_api]
...
...
src/libcore/lib.rs
浏览文件 @
951ef9d1
...
...
@@ -47,6 +47,8 @@
// Since libcore defines many fundamental lang items, all tests live in a
// separate crate, libcoretest, to avoid bizarre issues.
// Do not remove on snapshot creation. Needed for bootstrap. (Issue #22364)
#![cfg_attr(stage0,
feature(custom_attribute))]
#![crate_name
=
"core"
]
#![unstable(feature
=
"core"
)]
#![staged_api]
...
...
src/libcoretest/lib.rs
浏览文件 @
951ef9d1
...
...
@@ -8,6 +8,8 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.
// Do not remove on snapshot creation. Needed for bootstrap. (Issue #22364)
#![cfg_attr(stage0,
feature(custom_attribute))]
#![feature(box_syntax)]
#![feature(int_uint)]
#![feature(unboxed_closures)]
...
...
src/libflate/lib.rs
浏览文件 @
951ef9d1
...
...
@@ -14,6 +14,8 @@
//! [def]: https://en.wikipedia.org/wiki/DEFLATE
//! [mz]: https://code.google.com/p/miniz/
// Do not remove on snapshot creation. Needed for bootstrap. (Issue #22364)
#![cfg_attr(stage0,
feature(custom_attribute))]
#![crate_name
=
"flate"
]
#![unstable(feature
=
"rustc_private"
)]
#![staged_api]
...
...
src/libfmt_macros/lib.rs
浏览文件 @
951ef9d1
...
...
@@ -14,6 +14,8 @@
//! Parsing does not happen at runtime: structures of `std::fmt::rt` are
//! generated instead.
// Do not remove on snapshot creation. Needed for bootstrap. (Issue #22364)
#![cfg_attr(stage0,
feature(custom_attribute))]
#![crate_name
=
"fmt_macros"
]
#![unstable(feature
=
"rustc_private"
)]
#![staged_api]
...
...
src/libgetopts/lib.rs
浏览文件 @
951ef9d1
...
...
@@ -77,6 +77,9 @@
//! }
//! ```
// Do not remove on snapshot creation. Needed for bootstrap. (Issue #22364)
#![cfg_attr(stage0,
feature(custom_attribute))]
#![crate_name
=
"getopts"
]
#![unstable(feature
=
"rustc_private"
,
reason
=
"use the crates.io `getopts` library instead"
)]
...
...
src/libgraphviz/lib.rs
浏览文件 @
951ef9d1
...
...
@@ -264,6 +264,8 @@
//!
//! * [DOT language](http://www.graphviz.org/doc/info/lang.html)
// Do not remove on snapshot creation. Needed for bootstrap. (Issue #22364)
#![cfg_attr(stage0,
feature(custom_attribute))]
#![crate_name
=
"graphviz"
]
#![unstable(feature
=
"rustc_private"
)]
#![feature(staged_api)]
...
...
src/liblibc/lib.rs
浏览文件 @
951ef9d1
...
...
@@ -8,6 +8,8 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.
// Do not remove on snapshot creation. Needed for bootstrap. (Issue #22364)
#![cfg_attr(stage0,
feature(custom_attribute))]
#![crate_name
=
"libc"
]
#![crate_type
=
"rlib"
]
#![cfg_attr(not(feature
=
"cargo-build"
),
...
...
src/liblog/lib.rs
浏览文件 @
951ef9d1
...
...
@@ -155,6 +155,8 @@
//! they're turned off (just a load and an integer comparison). This also means that
//! if logging is disabled, none of the components of the log will be executed.
// Do not remove on snapshot creation. Needed for bootstrap. (Issue #22364)
#![cfg_attr(stage0,
feature(custom_attribute))]
#![crate_name
=
"log"
]
#![unstable(feature
=
"rustc_private"
,
reason
=
"use the crates.io `log` library instead"
)]
...
...
src/librand/lib.rs
浏览文件 @
951ef9d1
...
...
@@ -16,6 +16,8 @@
//! is not recommended to use this library directly, but rather the official
//! interface through `std::rand`.
// Do not remove on snapshot creation. Needed for bootstrap. (Issue #22364)
#![cfg_attr(stage0,
feature(custom_attribute))]
#![crate_name
=
"rand"
]
#![crate_type
=
"rlib"
]
#![doc(html_logo_url
=
"http://www.rust-lang.org/logos/rust-logo-128x128-blk.png"
,
...
...
src/librbml/lib.rs
浏览文件 @
951ef9d1
...
...
@@ -15,6 +15,8 @@
//! It is loosely based on the Extensible Binary Markup Language (ebml):
//! http://www.matroska.org/technical/specs/rfc/index.html
// Do not remove on snapshot creation. Needed for bootstrap. (Issue #22364)
#![cfg_attr(stage0,
feature(custom_attribute))]
#![crate_name
=
"rbml"
]
#![unstable(feature
=
"rustc_private"
)]
#![staged_api]
...
...
src/librustc/lib.rs
浏览文件 @
951ef9d1
...
...
@@ -14,6 +14,8 @@
//!
//! This API is completely unstable and subject to change.
// Do not remove on snapshot creation. Needed for bootstrap. (Issue #22364)
#![cfg_attr(stage0,
feature(custom_attribute))]
#![crate_name
=
"rustc"
]
#![unstable(feature
=
"rustc_private"
)]
#![staged_api]
...
...
@@ -40,7 +42,6 @@
#![feature(std_misc)]
#![feature(os)]
#![cfg_attr(test,
feature(test))]
extern
crate
arena
;
extern
crate
flate
;
extern
crate
fmt_macros
;
...
...
src/librustc_back/lib.rs
浏览文件 @
951ef9d1
...
...
@@ -21,6 +21,8 @@
//! one that doesn't; the one that doesn't might get decent parallel
//! build speedups.
// Do not remove on snapshot creation. Needed for bootstrap. (Issue #22364)
#![cfg_attr(stage0,
feature(custom_attribute))]
#![crate_name
=
"rustc_back"
]
#![unstable(feature
=
"rustc_private"
)]
#![staged_api]
...
...
src/librustc_bitflags/lib.rs
浏览文件 @
951ef9d1
...
...
@@ -8,6 +8,9 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.
// Do not remove on snapshot creation. Needed for bootstrap. (Issue #22364)
#![cfg_attr(stage0,
feature(custom_attribute))]
#![crate_name
=
"rustc_bitflags"
]
#![feature(staged_api)]
#![staged_api]
...
...
src/librustc_borrowck/lib.rs
浏览文件 @
951ef9d1
...
...
@@ -8,6 +8,8 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.
// Do not remove on snapshot creation. Needed for bootstrap. (Issue #22364)
#![cfg_attr(stage0,
feature(custom_attribute))]
#![crate_name
=
"rustc_borrowck"
]
#![unstable(feature
=
"rustc_private"
)]
#![staged_api]
...
...
src/librustc_driver/lib.rs
浏览文件 @
951ef9d1
...
...
@@ -14,6 +14,8 @@
//!
//! This API is completely unstable and subject to change.
// Do not remove on snapshot creation. Needed for bootstrap. (Issue #22364)
#![cfg_attr(stage0,
feature(custom_attribute))]
#![crate_name
=
"rustc_driver"
]
#![unstable(feature
=
"rustc_private"
)]
#![staged_api]
...
...
src/librustc_lint/lib.rs
浏览文件 @
951ef9d1
...
...
@@ -19,6 +19,8 @@
//!
//! This API is completely unstable and subject to change.
// Do not remove on snapshot creation. Needed for bootstrap. (Issue #22364)
#![cfg_attr(stage0,
feature(custom_attribute))]
#![crate_name
=
"rustc_lint"
]
#![unstable(feature
=
"rustc_private"
)]
#![staged_api]
...
...
src/librustc_llvm/lib.rs
浏览文件 @
951ef9d1
...
...
@@ -8,6 +8,8 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.
// Do not remove on snapshot creation. Needed for bootstrap. (Issue #22364)
#![cfg_attr(stage0,
feature(custom_attribute))]
#![allow(non_upper_case_globals)]
#![allow(non_camel_case_types)]
#![allow(non_snake_case)]
...
...
src/librustc_privacy/lib.rs
浏览文件 @
951ef9d1
...
...
@@ -8,6 +8,8 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.
// Do not remove on snapshot creation. Needed for bootstrap. (Issue #22364)
#![cfg_attr(stage0,
feature(custom_attribute))]
#![crate_name
=
"rustc_privacy"
]
#![unstable(feature
=
"rustc_private"
)]
#![staged_api]
...
...
src/librustc_resolve/lib.rs
浏览文件 @
951ef9d1
...
...
@@ -8,6 +8,8 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.
// Do not remove on snapshot creation. Needed for bootstrap. (Issue #22364)
#![cfg_attr(stage0,
feature(custom_attribute))]
#![crate_name
=
"rustc_resolve"
]
#![unstable(feature
=
"rustc_private"
)]
#![staged_api]
...
...
src/librustc_trans/lib.rs
浏览文件 @
951ef9d1
...
...
@@ -14,6 +14,8 @@
//!
//! This API is completely unstable and subject to change.
// Do not remove on snapshot creation. Needed for bootstrap. (Issue #22364)
#![cfg_attr(stage0,
feature(custom_attribute))]
#![crate_name
=
"rustc_trans"
]
#![unstable(feature
=
"rustc_private"
)]
#![staged_api]
...
...
src/librustc_typeck/lib.rs
浏览文件 @
951ef9d1
...
...
@@ -62,7 +62,8 @@
This API is completely unstable and subject to change.
*/
// Do not remove on snapshot creation. Needed for bootstrap. (Issue #22364)
#![cfg_attr(stage0,
feature(custom_attribute))]
#![crate_name
=
"rustc_typeck"
]
#![unstable(feature
=
"rustc_private"
)]
#![staged_api]
...
...
src/librustdoc/lib.rs
浏览文件 @
951ef9d1
...
...
@@ -8,6 +8,8 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.
// Do not remove on snapshot creation. Needed for bootstrap. (Issue #22364)
#![cfg_attr(stage0,
feature(custom_attribute))]
#![crate_name
=
"rustdoc"
]
#![unstable(feature
=
"rustdoc"
)]
#![staged_api]
...
...
src/libserialize/lib.rs
浏览文件 @
951ef9d1
...
...
@@ -14,6 +14,8 @@
Core encoding and decoding interfaces.
*/
// Do not remove on snapshot creation. Needed for bootstrap. (Issue #22364)
#![cfg_attr(stage0,
feature(custom_attribute))]
#![crate_name
=
"serialize"
]
#![unstable(feature
=
"rustc_private"
,
reason
=
"deprecated in favor of rustc-serialize on crates.io"
)]
...
...
src/libstd/lib.rs
浏览文件 @
951ef9d1
...
...
@@ -94,7 +94,8 @@
//! to all code by default. [`macros`](macros/index.html) contains
//! all the standard macros, such as `assert!`, `panic!`, `println!`,
//! and `format!`, also available to all Rust code.
// Do not remove on snapshot creation. Needed for bootstrap. (Issue #22364)
#![cfg_attr(stage0,
feature(custom_attribute))]
#![crate_name
=
"std"
]
#![stable(feature
=
"rust1"
,
since
=
"1.0.0"
)]
#![staged_api]
...
...
src/libsyntax/lib.rs
浏览文件 @
951ef9d1
...
...
@@ -14,6 +14,8 @@
//!
//! This API is completely unstable and subject to change.
// Do not remove on snapshot creation. Needed for bootstrap. (Issue #22364)
#![cfg_attr(stage0,
feature(custom_attribute))]
#![crate_name
=
"syntax"
]
#![unstable(feature
=
"rustc_private"
)]
#![staged_api]
...
...
src/libterm/lib.rs
浏览文件 @
951ef9d1
...
...
@@ -38,6 +38,8 @@
//! [win]: http://msdn.microsoft.com/en-us/library/windows/desktop/ms682010%28v=vs.85%29.aspx
//! [ti]: https://en.wikipedia.org/wiki/Terminfo
// Do not remove on snapshot creation. Needed for bootstrap. (Issue #22364)
#![cfg_attr(stage0,
feature(custom_attribute))]
#![crate_name
=
"term"
]
#![unstable(feature
=
"rustc_private"
,
reason
=
"use the crates.io `term` library instead"
)]
...
...
src/libtest/lib.rs
浏览文件 @
951ef9d1
...
...
@@ -23,6 +23,8 @@
// running tests while providing a base that other test frameworks may
// build off of.
// Do not remove on snapshot creation. Needed for bootstrap. (Issue #22364)
#![cfg_attr(stage0,
feature(custom_attribute))]
#![crate_name
=
"test"
]
#![unstable(feature
=
"test"
)]
#![staged_api]
...
...
src/libunicode/lib.rs
浏览文件 @
951ef9d1
...
...
@@ -20,6 +20,8 @@
//! provide for basic string-related manipulations. This crate does not
//! (yet) aim to provide a full set of Unicode tables.
// Do not remove on snapshot creation. Needed for bootstrap. (Issue #22364)
#![cfg_attr(stage0,
feature(custom_attribute))]
#![crate_name
=
"unicode"
]
#![unstable(feature
=
"unicode"
)]
#![feature(staged_api)]
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录