Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
int
Rust
提交
b3f50cae
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,发现更多精彩内容 >>
未验证
提交
b3f50cae
编写于
8月 19, 2017
作者:
T
Tamir Duberstein
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
*: remove crate_{name,type} attributes
Fixes #41701.
上级
0463566f
变更
49
隐藏空白更改
内联
并排
Showing
49 changed file
with
4 addition
and
130 deletion
+4
-130
src/liballoc/lib.rs
src/liballoc/lib.rs
+0
-2
src/liballoc_jemalloc/lib.rs
src/liballoc_jemalloc/lib.rs
+0
-2
src/liballoc_system/lib.rs
src/liballoc_system/lib.rs
+0
-2
src/libarena/lib.rs
src/libarena/lib.rs
+0
-3
src/libcollections/lib.rs
src/libcollections/lib.rs
+0
-2
src/libcore/lib.rs
src/libcore/lib.rs
+0
-2
src/libfmt_macros/lib.rs
src/libfmt_macros/lib.rs
+0
-3
src/libgetopts/lib.rs
src/libgetopts/lib.rs
+0
-3
src/libgraphviz/lib.rs
src/libgraphviz/lib.rs
+0
-3
src/libpanic_abort/lib.rs
src/libpanic_abort/lib.rs
+0
-2
src/libpanic_unwind/lib.rs
src/libpanic_unwind/lib.rs
+0
-2
src/libproc_macro/lib.rs
src/libproc_macro/lib.rs
+0
-3
src/libprofiler_builtins/lib.rs
src/libprofiler_builtins/lib.rs
+0
-2
src/librand/lib.rs
src/librand/lib.rs
+0
-2
src/librustc/lib.rs
src/librustc/lib.rs
+0
-3
src/librustc_apfloat/lib.rs
src/librustc_apfloat/lib.rs
+0
-1
src/librustc_back/lib.rs
src/librustc_back/lib.rs
+0
-3
src/librustc_bitflags/lib.rs
src/librustc_bitflags/lib.rs
+0
-2
src/librustc_borrowck/lib.rs
src/librustc_borrowck/lib.rs
+0
-3
src/librustc_const_eval/lib.rs
src/librustc_const_eval/lib.rs
+0
-3
src/librustc_const_math/lib.rs
src/librustc_const_math/lib.rs
+0
-3
src/librustc_data_structures/lib.rs
src/librustc_data_structures/lib.rs
+0
-3
src/librustc_driver/lib.rs
src/librustc_driver/lib.rs
+0
-3
src/librustc_errors/lib.rs
src/librustc_errors/lib.rs
+0
-3
src/librustc_incremental/lib.rs
src/librustc_incremental/lib.rs
+0
-3
src/librustc_lint/lib.rs
src/librustc_lint/lib.rs
+0
-3
src/librustc_llvm/lib.rs
src/librustc_llvm/lib.rs
+0
-3
src/librustc_metadata/lib.rs
src/librustc_metadata/lib.rs
+0
-3
src/librustc_mir/lib.rs
src/librustc_mir/lib.rs
+0
-3
src/librustc_passes/lib.rs
src/librustc_passes/lib.rs
+0
-3
src/librustc_platform_intrinsics/lib.rs
src/librustc_platform_intrinsics/lib.rs
+0
-3
src/librustc_plugin/lib.rs
src/librustc_plugin/lib.rs
+0
-3
src/librustc_privacy/lib.rs
src/librustc_privacy/lib.rs
+0
-3
src/librustc_resolve/lib.rs
src/librustc_resolve/lib.rs
+0
-3
src/librustc_save_analysis/lib.rs
src/librustc_save_analysis/lib.rs
+0
-3
src/librustc_trans/lib.rs
src/librustc_trans/lib.rs
+0
-3
src/librustc_trans_utils/lib.rs
src/librustc_trans_utils/lib.rs
+0
-3
src/librustc_typeck/lib.rs
src/librustc_typeck/lib.rs
+0
-3
src/librustdoc/lib.rs
src/librustdoc/lib.rs
+0
-3
src/libserialize/lib.rs
src/libserialize/lib.rs
+0
-3
src/libstd/lib.rs
src/libstd/lib.rs
+0
-3
src/libstd_unicode/lib.rs
src/libstd_unicode/lib.rs
+0
-2
src/libsyntax/lib.rs
src/libsyntax/lib.rs
+0
-3
src/libsyntax_ext/lib.rs
src/libsyntax_ext/lib.rs
+0
-3
src/libsyntax_pos/lib.rs
src/libsyntax_pos/lib.rs
+0
-3
src/libterm/lib.rs
src/libterm/lib.rs
+0
-3
src/libtest/lib.rs
src/libtest/lib.rs
+3
-2
src/libunwind/lib.rs
src/libunwind/lib.rs
+0
-2
src/test/run-make/alloc-extern-crates/Makefile
src/test/run-make/alloc-extern-crates/Makefile
+1
-1
未找到文件。
src/liballoc/lib.rs
浏览文件 @
b3f50cae
...
...
@@ -60,8 +60,6 @@
//! 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.
#![crate_name
=
"alloc"
]
#![crate_type
=
"rlib"
]
#![allow(unused_attributes)]
#![unstable(feature
=
"alloc"
,
reason
=
"this library is unlikely to be stabilized in its current
\
...
...
src/liballoc_jemalloc/lib.rs
浏览文件 @
b3f50cae
...
...
@@ -8,8 +8,6 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.
#![crate_name
=
"alloc_jemalloc"
]
#![crate_type
=
"rlib"
]
#![no_std]
#![unstable(feature
=
"alloc_jemalloc"
,
reason
=
"this library is unlikely to be stabilized in its current
\
...
...
src/liballoc_system/lib.rs
浏览文件 @
b3f50cae
...
...
@@ -8,8 +8,6 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.
#![crate_name
=
"alloc_system"
]
#![crate_type
=
"rlib"
]
#![no_std]
#![deny(warnings)]
#![unstable(feature
=
"alloc_system"
,
...
...
src/libarena/lib.rs
浏览文件 @
b3f50cae
...
...
@@ -18,9 +18,6 @@
//! This crate implements `TypedArena`, a simple arena that can only hold
//! objects of a single type.
#![crate_name
=
"arena"
]
#![crate_type
=
"rlib"
]
#![crate_type
=
"dylib"
]
#![doc(html_logo_url
=
"https://www.rust-lang.org/logos/rust-logo-128x128-blk-v2.png"
,
html_favicon_url
=
"https://doc.rust-lang.org/favicon.ico"
,
html_root_url
=
"https://doc.rust-lang.org/nightly/"
,
...
...
src/libcollections/lib.rs
浏览文件 @
b3f50cae
...
...
@@ -8,8 +8,6 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.
#![crate_name
=
"collections"
]
#![crate_type
=
"rlib"
]
#![allow(unused_attributes)]
#![unstable(feature
=
"collections"
,
reason
=
"this library is unlikely to be stabilized in its current
\
...
...
src/libcore/lib.rs
浏览文件 @
b3f50cae
...
...
@@ -51,9 +51,7 @@
// Since libcore defines many fundamental lang items, all tests live in a
// separate crate, libcoretest, to avoid bizarre issues.
#![crate_name
=
"core"
]
#![stable(feature
=
"core"
,
since
=
"1.6.0"
)]
#![crate_type
=
"rlib"
]
#![doc(html_logo_url
=
"https://www.rust-lang.org/logos/rust-logo-128x128-blk-v2.png"
,
html_favicon_url
=
"https://doc.rust-lang.org/favicon.ico"
,
html_root_url
=
"https://doc.rust-lang.org/nightly/"
,
...
...
src/libfmt_macros/lib.rs
浏览文件 @
b3f50cae
...
...
@@ -14,9 +14,6 @@
//! Parsing does not happen at runtime: structures of `std::fmt::rt` are
//! generated instead.
#![crate_name
=
"fmt_macros"
]
#![crate_type
=
"rlib"
]
#![crate_type
=
"dylib"
]
#![doc(html_logo_url
=
"https://www.rust-lang.org/logos/rust-logo-128x128-blk-v2.png"
,
html_favicon_url
=
"https://doc.rust-lang.org/favicon.ico"
,
html_root_url
=
"https://doc.rust-lang.org/nightly/"
,
...
...
src/libgetopts/lib.rs
浏览文件 @
b3f50cae
...
...
@@ -77,9 +77,6 @@
//! }
//! ```
#![crate_name
=
"getopts"
]
#![crate_type
=
"rlib"
]
#![crate_type
=
"dylib"
]
#![doc(html_logo_url
=
"https://www.rust-lang.org/logos/rust-logo-128x128-blk-v2.png"
,
html_favicon_url
=
"https://doc.rust-lang.org/favicon.ico"
,
html_root_url
=
"https://doc.rust-lang.org/nightly/"
,
...
...
src/libgraphviz/lib.rs
浏览文件 @
b3f50cae
...
...
@@ -283,9 +283,6 @@
//!
//! * [DOT language](http://www.graphviz.org/doc/info/lang.html)
#![crate_name
=
"graphviz"
]
#![crate_type
=
"rlib"
]
#![crate_type
=
"dylib"
]
#![doc(html_logo_url
=
"https://www.rust-lang.org/logos/rust-logo-128x128-blk-v2.png"
,
html_favicon_url
=
"https://doc.rust-lang.org/favicon.ico"
,
html_root_url
=
"https://doc.rust-lang.org/nightly/"
,
...
...
src/libpanic_abort/lib.rs
浏览文件 @
b3f50cae
...
...
@@ -14,8 +14,6 @@
//! simpler! That being said, it's not quite as versatile, but here goes!
#![no_std]
#![crate_name
=
"panic_abort"
]
#![crate_type
=
"rlib"
]
#![unstable(feature
=
"panic_abort"
,
issue
=
"32837"
)]
#![doc(html_logo_url
=
"https://www.rust-lang.org/logos/rust-logo-128x128-blk-v2.png"
,
html_favicon_url
=
"https://doc.rust-lang.org/favicon.ico"
,
...
...
src/libpanic_unwind/lib.rs
浏览文件 @
b3f50cae
...
...
@@ -23,8 +23,6 @@
//! module.
#![no_std]
#![crate_name
=
"panic_unwind"
]
#![crate_type
=
"rlib"
]
#![unstable(feature
=
"panic_unwind"
,
issue
=
"32837"
)]
#![doc(html_logo_url
=
"https://www.rust-lang.org/logos/rust-logo-128x128-blk-v2.png"
,
html_favicon_url
=
"https://doc.rust-lang.org/favicon.ico"
,
...
...
src/libproc_macro/lib.rs
浏览文件 @
b3f50cae
...
...
@@ -23,10 +23,7 @@
//!
//! See [the book](../book/first-edition/procedural-macros.html) for more.
#![crate_name
=
"proc_macro"
]
#![stable(feature
=
"proc_macro_lib"
,
since
=
"1.15.0"
)]
#![crate_type
=
"rlib"
]
#![crate_type
=
"dylib"
]
#![deny(warnings)]
#![deny(missing_docs)]
#![doc(html_logo_url
=
"https://www.rust-lang.org/logos/rust-logo-128x128-blk-v2.png"
,
...
...
src/libprofiler_builtins/lib.rs
浏览文件 @
b3f50cae
...
...
@@ -14,7 +14,5 @@
#![unstable(feature
=
"profiler_runtime_lib"
,
reason
=
"internal implementation detail of rustc right now"
,
issue
=
"0"
)]
#![crate_name
=
"profiler_builtins"
]
#![crate_type
=
"rlib"
]
#![allow(unused_features)]
#![feature(staged_api)]
src/librand/lib.rs
浏览文件 @
b3f50cae
...
...
@@ -16,8 +16,6 @@
//! is not recommended to use this library directly, but rather the official
//! interface through `std::rand`.
#![crate_name
=
"rand"
]
#![crate_type
=
"rlib"
]
#![doc(html_logo_url
=
"https://www.rust-lang.org/logos/rust-logo-128x128-blk.png"
,
html_favicon_url
=
"https://doc.rust-lang.org/favicon.ico"
,
html_root_url
=
"https://doc.rust-lang.org/nightly/"
,
...
...
src/librustc/lib.rs
浏览文件 @
b3f50cae
...
...
@@ -14,9 +14,6 @@
//!
//! This API is completely unstable and subject to change.
#![crate_name
=
"rustc"
]
#![crate_type
=
"dylib"
]
#![crate_type
=
"rlib"
]
#![doc(html_logo_url
=
"https://www.rust-lang.org/logos/rust-logo-128x128-blk-v2.png"
,
html_favicon_url
=
"https://doc.rust-lang.org/favicon.ico"
,
html_root_url
=
"https://doc.rust-lang.org/nightly/"
)]
...
...
src/librustc_apfloat/lib.rs
浏览文件 @
b3f50cae
...
...
@@ -39,7 +39,6 @@
//!
//! This API is completely unstable and subject to change.
#![crate_name
=
"rustc_apfloat"
]
#![doc(html_logo_url
=
"https://www.rust-lang.org/logos/rust-logo-128x128-blk-v2.png"
,
html_favicon_url
=
"https://doc.rust-lang.org/favicon.ico"
,
html_root_url
=
"https://doc.rust-lang.org/nightly/"
)]
...
...
src/librustc_back/lib.rs
浏览文件 @
b3f50cae
...
...
@@ -21,9 +21,6 @@
//! one that doesn't; the one that doesn't might get decent parallel
//! build speedups.
#![crate_name
=
"rustc_back"
]
#![crate_type
=
"dylib"
]
#![crate_type
=
"rlib"
]
#![doc(html_logo_url
=
"https://www.rust-lang.org/logos/rust-logo-128x128-blk-v2.png"
,
html_favicon_url
=
"https://doc.rust-lang.org/favicon.ico"
,
html_root_url
=
"https://doc.rust-lang.org/nightly/"
)]
...
...
src/librustc_bitflags/lib.rs
浏览文件 @
b3f50cae
...
...
@@ -9,8 +9,6 @@
// except according to those terms.
#![crate_name
=
"rustc_bitflags"
]
#![crate_type
=
"rlib"
]
#![no_std]
#![deny(warnings)]
...
...
src/librustc_borrowck/lib.rs
浏览文件 @
b3f50cae
...
...
@@ -8,9 +8,6 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.
#![crate_name
=
"rustc_borrowck"
]
#![crate_type
=
"dylib"
]
#![crate_type
=
"rlib"
]
#![doc(html_logo_url
=
"https://www.rust-lang.org/logos/rust-logo-128x128-blk-v2.png"
,
html_favicon_url
=
"https://doc.rust-lang.org/favicon.ico"
,
html_root_url
=
"https://doc.rust-lang.org/nightly/"
)]
...
...
src/librustc_const_eval/lib.rs
浏览文件 @
b3f50cae
...
...
@@ -14,9 +14,6 @@
//!
//! This API is completely unstable and subject to change.
#![crate_name
=
"rustc_const_eval"
]
#![crate_type
=
"dylib"
]
#![crate_type
=
"rlib"
]
#![doc(html_logo_url
=
"https://www.rust-lang.org/logos/rust-logo-128x128-blk-v2.png"
,
html_favicon_url
=
"https://doc.rust-lang.org/favicon.ico"
,
html_root_url
=
"https://doc.rust-lang.org/nightly/"
)]
...
...
src/librustc_const_math/lib.rs
浏览文件 @
b3f50cae
...
...
@@ -14,9 +14,6 @@
//!
//! This API is completely unstable and subject to change.
#![crate_name
=
"rustc_const_math"
]
#![crate_type
=
"dylib"
]
#![crate_type
=
"rlib"
]
#![doc(html_logo_url
=
"https://www.rust-lang.org/logos/rust-logo-128x128-blk-v2.png"
,
html_favicon_url
=
"https://doc.rust-lang.org/favicon.ico"
,
html_root_url
=
"https://doc.rust-lang.org/nightly/"
)]
...
...
src/librustc_data_structures/lib.rs
浏览文件 @
b3f50cae
...
...
@@ -16,9 +16,6 @@
//!
//! This API is completely unstable and subject to change.
#![crate_name
=
"rustc_data_structures"
]
#![crate_type
=
"dylib"
]
#![crate_type
=
"rlib"
]
#![doc(html_logo_url
=
"https://www.rust-lang.org/logos/rust-logo-128x128-blk-v2.png"
,
html_favicon_url
=
"https://www.rust-lang.org/favicon.ico"
,
html_root_url
=
"https://doc.rust-lang.org/nightly/"
)]
...
...
src/librustc_driver/lib.rs
浏览文件 @
b3f50cae
...
...
@@ -14,9 +14,6 @@
//!
//! This API is completely unstable and subject to change.
#![crate_name
=
"rustc_driver"
]
#![crate_type
=
"dylib"
]
#![crate_type
=
"rlib"
]
#![doc(html_logo_url
=
"https://www.rust-lang.org/logos/rust-logo-128x128-blk-v2.png"
,
html_favicon_url
=
"https://doc.rust-lang.org/favicon.ico"
,
html_root_url
=
"https://doc.rust-lang.org/nightly/"
)]
...
...
src/librustc_errors/lib.rs
浏览文件 @
b3f50cae
...
...
@@ -8,9 +8,6 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.
#![crate_name
=
"rustc_errors"
]
#![crate_type
=
"dylib"
]
#![crate_type
=
"rlib"
]
#![doc(html_logo_url
=
"https://www.rust-lang.org/logos/rust-logo-128x128-blk-v2.png"
,
html_favicon_url
=
"https://doc.rust-lang.org/favicon.ico"
,
html_root_url
=
"https://doc.rust-lang.org/nightly/"
)]
...
...
src/librustc_incremental/lib.rs
浏览文件 @
b3f50cae
...
...
@@ -10,9 +10,6 @@
//! Support for serializing the dep-graph and reloading it.
#![crate_name
=
"rustc_incremental"
]
#![crate_type
=
"dylib"
]
#![crate_type
=
"rlib"
]
#![doc(html_logo_url
=
"https://www.rust-lang.org/logos/rust-logo-128x128-blk-v2.png"
,
html_favicon_url
=
"https://doc.rust-lang.org/favicon.ico"
,
html_root_url
=
"https://doc.rust-lang.org/nightly/"
)]
...
...
src/librustc_lint/lib.rs
浏览文件 @
b3f50cae
...
...
@@ -19,9 +19,6 @@
//!
//! This API is completely unstable and subject to change.
#![crate_name
=
"rustc_lint"
]
#![crate_type
=
"dylib"
]
#![crate_type
=
"rlib"
]
#![doc(html_logo_url
=
"https://www.rust-lang.org/logos/rust-logo-128x128-blk-v2.png"
,
html_favicon_url
=
"https://doc.rust-lang.org/favicon.ico"
,
html_root_url
=
"https://doc.rust-lang.org/nightly/"
)]
...
...
src/librustc_llvm/lib.rs
浏览文件 @
b3f50cae
...
...
@@ -13,9 +13,6 @@
#![allow(non_snake_case)]
#![allow(dead_code)]
#![crate_name
=
"rustc_llvm"
]
#![crate_type
=
"dylib"
]
#![crate_type
=
"rlib"
]
#![doc(html_logo_url
=
"https://www.rust-lang.org/logos/rust-logo-128x128-blk-v2.png"
,
html_favicon_url
=
"https://doc.rust-lang.org/favicon.ico"
,
html_root_url
=
"https://doc.rust-lang.org/nightly/"
)]
...
...
src/librustc_metadata/lib.rs
浏览文件 @
b3f50cae
...
...
@@ -8,9 +8,6 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.
#![crate_name
=
"rustc_metadata"
]
#![crate_type
=
"dylib"
]
#![crate_type
=
"rlib"
]
#![doc(html_logo_url
=
"https://www.rust-lang.org/logos/rust-logo-128x128-blk-v2.png"
,
html_favicon_url
=
"https://doc.rust-lang.org/favicon.ico"
,
html_root_url
=
"https://doc.rust-lang.org/nightly/"
)]
...
...
src/librustc_mir/lib.rs
浏览文件 @
b3f50cae
...
...
@@ -14,9 +14,6 @@
*/
#![crate_name
=
"rustc_mir"
]
#![crate_type
=
"rlib"
]
#![crate_type
=
"dylib"
]
#![deny(warnings)]
#![feature(box_patterns)]
...
...
src/librustc_passes/lib.rs
浏览文件 @
b3f50cae
...
...
@@ -14,9 +14,6 @@
//!
//! This API is completely unstable and subject to change.
#![crate_name
=
"rustc_passes"
]
#![crate_type
=
"dylib"
]
#![crate_type
=
"rlib"
]
#![doc(html_logo_url
=
"https://www.rust-lang.org/logos/rust-logo-128x128-blk-v2.png"
,
html_favicon_url
=
"https://doc.rust-lang.org/favicon.ico"
,
html_root_url
=
"https://doc.rust-lang.org/nightly/"
)]
...
...
src/librustc_platform_intrinsics/lib.rs
浏览文件 @
b3f50cae
...
...
@@ -8,9 +8,6 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.
#![crate_name
=
"rustc_platform_intrinsics"
]
#![crate_type
=
"dylib"
]
#![crate_type
=
"rlib"
]
#![deny(warnings)]
#![allow(bad_style)]
...
...
src/librustc_plugin/lib.rs
浏览文件 @
b3f50cae
...
...
@@ -60,9 +60,6 @@
//! See the [`plugin` feature](../../unstable-book/language-features/plugin.html) of
//! the Unstable Book for more examples.
#![crate_name
=
"rustc_plugin"
]
#![crate_type
=
"dylib"
]
#![crate_type
=
"rlib"
]
#![doc(html_logo_url
=
"https://www.rust-lang.org/logos/rust-logo-128x128-blk-v2.png"
,
html_favicon_url
=
"https://doc.rust-lang.org/favicon.ico"
,
html_root_url
=
"https://doc.rust-lang.org/nightly/"
)]
...
...
src/librustc_privacy/lib.rs
浏览文件 @
b3f50cae
...
...
@@ -8,9 +8,6 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.
#![crate_name
=
"rustc_privacy"
]
#![crate_type
=
"dylib"
]
#![crate_type
=
"rlib"
]
#![doc(html_logo_url
=
"https://www.rust-lang.org/logos/rust-logo-128x128-blk-v2.png"
,
html_favicon_url
=
"https://doc.rust-lang.org/favicon.ico"
,
html_root_url
=
"https://doc.rust-lang.org/nightly/"
)]
...
...
src/librustc_resolve/lib.rs
浏览文件 @
b3f50cae
...
...
@@ -8,9 +8,6 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.
#![crate_name
=
"rustc_resolve"
]
#![crate_type
=
"dylib"
]
#![crate_type
=
"rlib"
]
#![doc(html_logo_url
=
"https://www.rust-lang.org/logos/rust-logo-128x128-blk-v2.png"
,
html_favicon_url
=
"https://doc.rust-lang.org/favicon.ico"
,
html_root_url
=
"https://doc.rust-lang.org/nightly/"
)]
...
...
src/librustc_save_analysis/lib.rs
浏览文件 @
b3f50cae
...
...
@@ -8,9 +8,6 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.
#![crate_name
=
"rustc_save_analysis"
]
#![crate_type
=
"dylib"
]
#![crate_type
=
"rlib"
]
#![doc(html_logo_url
=
"https://www.rust-lang.org/logos/rust-logo-128x128-blk-v2.png"
,
html_favicon_url
=
"https://doc.rust-lang.org/favicon.ico"
,
html_root_url
=
"https://doc.rust-lang.org/nightly/"
)]
...
...
src/librustc_trans/lib.rs
浏览文件 @
b3f50cae
...
...
@@ -14,9 +14,6 @@
//!
//! This API is completely unstable and subject to change.
#![crate_name
=
"rustc_trans"
]
#![crate_type
=
"dylib"
]
#![crate_type
=
"rlib"
]
#![doc(html_logo_url
=
"https://www.rust-lang.org/logos/rust-logo-128x128-blk-v2.png"
,
html_favicon_url
=
"https://doc.rust-lang.org/favicon.ico"
,
html_root_url
=
"https://doc.rust-lang.org/nightly/"
)]
...
...
src/librustc_trans_utils/lib.rs
浏览文件 @
b3f50cae
...
...
@@ -12,9 +12,6 @@
//!
//! This API is completely unstable and subject to change.
#![crate_name
=
"rustc_trans_utils"
]
#![crate_type
=
"dylib"
]
#![crate_type
=
"rlib"
]
#![doc(html_logo_url
=
"https://www.rust-lang.org/logos/rust-logo-128x128-blk-v2.png"
,
html_favicon_url
=
"https://doc.rust-lang.org/favicon.ico"
,
html_root_url
=
"https://doc.rust-lang.org/nightly/"
)]
...
...
src/librustc_typeck/lib.rs
浏览文件 @
b3f50cae
...
...
@@ -63,9 +63,6 @@
*/
#![crate_name
=
"rustc_typeck"
]
#![crate_type
=
"dylib"
]
#![crate_type
=
"rlib"
]
#![doc(html_logo_url
=
"https://www.rust-lang.org/logos/rust-logo-128x128-blk-v2.png"
,
html_favicon_url
=
"https://doc.rust-lang.org/favicon.ico"
,
html_root_url
=
"https://doc.rust-lang.org/nightly/"
)]
...
...
src/librustdoc/lib.rs
浏览文件 @
b3f50cae
...
...
@@ -8,9 +8,6 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.
#![crate_name
=
"rustdoc"
]
#![crate_type
=
"dylib"
]
#![crate_type
=
"rlib"
]
#![doc(html_logo_url
=
"https://www.rust-lang.org/logos/rust-logo-128x128-blk-v2.png"
,
html_favicon_url
=
"https://doc.rust-lang.org/favicon.ico"
,
html_root_url
=
"https://doc.rust-lang.org/nightly/"
,
...
...
src/libserialize/lib.rs
浏览文件 @
b3f50cae
...
...
@@ -14,9 +14,6 @@
Core encoding and decoding interfaces.
*/
#![crate_name
=
"serialize"
]
#![crate_type
=
"rlib"
]
#![crate_type
=
"dylib"
]
#![doc(html_logo_url
=
"https://www.rust-lang.org/logos/rust-logo-128x128-blk-v2.png"
,
html_favicon_url
=
"https://doc.rust-lang.org/favicon.ico"
,
html_root_url
=
"https://doc.rust-lang.org/nightly/"
,
...
...
src/libstd/lib.rs
浏览文件 @
b3f50cae
...
...
@@ -209,10 +209,7 @@
//! [other]: #what-is-in-the-standard-library-documentation
//! [primitive types]: ../book/first-edition/primitive-types.html
#![crate_name
=
"std"
]
#![stable(feature
=
"rust1"
,
since
=
"1.0.0"
)]
#![crate_type
=
"rlib"
]
#![crate_type
=
"dylib"
]
#![doc(html_logo_url
=
"https://www.rust-lang.org/logos/rust-logo-128x128-blk-v2.png"
,
html_favicon_url
=
"https://doc.rust-lang.org/favicon.ico"
,
html_root_url
=
"https://doc.rust-lang.org/nightly/"
,
...
...
src/libstd_unicode/lib.rs
浏览文件 @
b3f50cae
...
...
@@ -20,9 +20,7 @@
//! provide for basic string-related manipulations. This crate does not
//! (yet) aim to provide a full set of Unicode tables.
#![crate_name
=
"std_unicode"
]
#![unstable(feature
=
"unicode"
,
issue
=
"27783"
)]
#![crate_type
=
"rlib"
]
#![doc(html_logo_url
=
"https://www.rust-lang.org/logos/rust-logo-128x128-blk-v2.png"
,
html_favicon_url
=
"https://doc.rust-lang.org/favicon.ico"
,
html_root_url
=
"https://doc.rust-lang.org/nightly/"
,
...
...
src/libsyntax/lib.rs
浏览文件 @
b3f50cae
...
...
@@ -14,9 +14,6 @@
//!
//! This API is completely unstable and subject to change.
#![crate_name
=
"syntax"
]
#![crate_type
=
"dylib"
]
#![crate_type
=
"rlib"
]
#![doc(html_logo_url
=
"https://www.rust-lang.org/logos/rust-logo-128x128-blk-v2.png"
,
html_favicon_url
=
"https://doc.rust-lang.org/favicon.ico"
,
html_root_url
=
"https://doc.rust-lang.org/nightly/"
,
...
...
src/libsyntax_ext/lib.rs
浏览文件 @
b3f50cae
...
...
@@ -10,9 +10,6 @@
//! Syntax extensions in the Rust compiler.
#![crate_name
=
"syntax_ext"
]
#![crate_type
=
"dylib"
]
#![crate_type
=
"rlib"
]
#![doc(html_logo_url
=
"https://www.rust-lang.org/logos/rust-logo-128x128-blk-v2.png"
,
html_favicon_url
=
"https://doc.rust-lang.org/favicon.ico"
,
html_root_url
=
"https://doc.rust-lang.org/nightly/"
)]
...
...
src/libsyntax_pos/lib.rs
浏览文件 @
b3f50cae
...
...
@@ -14,9 +14,6 @@
//!
//! This API is completely unstable and subject to change.
#![crate_name
=
"syntax_pos"
]
#![crate_type
=
"dylib"
]
#![crate_type
=
"rlib"
]
#![doc(html_logo_url
=
"https://www.rust-lang.org/logos/rust-logo-128x128-blk-v2.png"
,
html_favicon_url
=
"https://doc.rust-lang.org/favicon.ico"
,
html_root_url
=
"https://doc.rust-lang.org/nightly/"
)]
...
...
src/libterm/lib.rs
浏览文件 @
b3f50cae
...
...
@@ -40,9 +40,6 @@
//! [win]: http://msdn.microsoft.com/en-us/library/windows/desktop/ms682010%28v=vs.85%29.aspx
//! [ti]: https://en.wikipedia.org/wiki/Terminfo
#![crate_name
=
"term"
]
#![crate_type
=
"rlib"
]
#![crate_type
=
"dylib"
]
#![doc(html_logo_url
=
"https://www.rust-lang.org/logos/rust-logo-128x128-blk-v2.png"
,
html_favicon_url
=
"https://doc.rust-lang.org/favicon.ico"
,
html_root_url
=
"https://doc.rust-lang.org/nightly/"
,
...
...
src/libtest/lib.rs
浏览文件 @
b3f50cae
...
...
@@ -23,10 +23,11 @@
// running tests while providing a base that other test frameworks may
// build off of.
// NB: this is also specified in this crate's Cargo.toml, but libsyntax contains logic specific to
// this crate, which relies on this attribute (rather than the value of `--crate-name` passed by
// cargo) to detect this crate.
#![crate_name
=
"test"
]
#![unstable(feature
=
"test"
,
issue
=
"27812"
)]
#![crate_type
=
"rlib"
]
#![crate_type
=
"dylib"
]
#![doc(html_logo_url
=
"https://www.rust-lang.org/logos/rust-logo-128x128-blk-v2.png"
,
html_favicon_url
=
"https://doc.rust-lang.org/favicon.ico"
,
html_root_url
=
"https://doc.rust-lang.org/nightly/"
,
...
...
src/libunwind/lib.rs
浏览文件 @
b3f50cae
...
...
@@ -9,8 +9,6 @@
// except according to those terms.
#![no_std]
#![crate_name
=
"unwind"
]
#![crate_type
=
"rlib"
]
#![unstable(feature
=
"panic_unwind"
,
issue
=
"32837"
)]
#![deny(warnings)]
...
...
src/test/run-make/alloc-extern-crates/Makefile
浏览文件 @
b3f50cae
...
...
@@ -2,4 +2,4 @@
all
:
$(RUSTC)
fakealloc.rs
$(RUSTC)
../../../liballoc/lib.rs
--cfg
feature
=
\"
external_crate
\"
--extern
external
=
$(TMPDIR)
/
$(
shell
$(RUSTC)
--print
file-names fakealloc.rs
)
$(RUSTC)
--crate-type
=
rlib
../../../liballoc/lib.rs
--cfg
feature
=
\"
external_crate
\"
--extern
external
=
$(TMPDIR)
/
$(
shell
$(RUSTC)
--print
file-names fakealloc.rs
)
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录