File tree 34 files changed +121
-97
lines changed
librustc_platform_intrinsics
34 files changed +121
-97
lines changed Original file line number Diff line number Diff line change 19
19
//! objects of a single type.
20
20
21
21
#![ crate_name = "arena" ]
22
- #![ unstable( feature = "rustc_private" , issue = "27812" ) ]
22
+ #![ cfg_attr ( stage0 , unstable( feature = "rustc_private" , issue = "27812" ) ) ]
23
23
#![ crate_type = "rlib" ]
24
24
#![ crate_type = "dylib" ]
25
25
#![ doc( html_logo_url = "https://www.rust-lang.org/logos/rust-logo-128x128-blk-v2.png" ,
32
32
#![ feature( core_intrinsics) ]
33
33
#![ feature( dropck_eyepatch) ]
34
34
#![ feature( generic_param_attrs) ]
35
- #![ feature( staged_api) ]
35
+ #![ cfg_attr ( stage0 , feature( staged_api) ) ]
36
36
#![ cfg_attr( test, feature( test) ) ]
37
37
38
38
#![ allow( deprecated) ]
Original file line number Diff line number Diff line change 15
15
//! [mz]: https://code.google.com/p/miniz/
16
16
17
17
#![ crate_name = "flate" ]
18
- #![ unstable( feature = "rustc_private" , issue = "27812" ) ]
18
+ #![ cfg_attr ( stage0 , unstable( feature = "rustc_private" , issue = "27812" ) ) ]
19
19
#![ crate_type = "rlib" ]
20
20
#![ crate_type = "dylib" ]
21
21
#![ doc( html_logo_url = "https://www.rust-lang.org/logos/rust-logo-128x128-blk-v2.png" ,
25
25
#![ deny( warnings) ]
26
26
27
27
#![ feature( libc) ]
28
- #![ feature( staged_api) ]
28
+ #![ cfg_attr ( stage0 , feature( staged_api) ) ]
29
29
#![ feature( unique) ]
30
30
#![ cfg_attr( test, feature( rand) ) ]
31
31
Original file line number Diff line number Diff line change 15
15
//! generated instead.
16
16
17
17
#![ crate_name = "fmt_macros" ]
18
- #![ unstable( feature = "rustc_private" , issue = "27812" ) ]
18
+ #![ cfg_attr ( stage0 , unstable( feature = "rustc_private" , issue = "27812" ) ) ]
19
19
#![ crate_type = "rlib" ]
20
20
#![ crate_type = "dylib" ]
21
21
#![ doc( html_logo_url = "https://www.rust-lang.org/logos/rust-logo-128x128-blk-v2.png" ,
25
25
test( attr( deny( warnings) ) ) ) ]
26
26
#![ deny( warnings) ]
27
27
28
- #![ feature( staged_api) ]
28
+ #![ cfg_attr ( stage0 , feature( staged_api) ) ]
29
29
#![ feature( unicode) ]
30
30
31
31
pub use self :: Piece :: * ;
Original file line number Diff line number Diff line change 78
78
//! ```
79
79
80
80
#![ crate_name = "getopts" ]
81
- #![ unstable( feature = "rustc_private" ,
81
+ #![ cfg_attr ( stage0 , unstable( feature = "rustc_private" ,
82
82
reason = "use the crates.io `getopts` library instead" ,
83
- issue = "27812" ) ]
83
+ issue = "27812" ) ) ]
84
84
#![ crate_type = "rlib" ]
85
85
#![ crate_type = "dylib" ]
86
86
#![ doc( html_logo_url = "https://www.rust-lang.org/logos/rust-logo-128x128-blk-v2.png" ,
91
91
92
92
#![ deny( missing_docs) ]
93
93
#![ deny( warnings) ]
94
- #![ feature( staged_api) ]
94
+ #![ cfg_attr ( stage0 , feature( staged_api) ) ]
95
95
96
96
use self :: Name :: * ;
97
97
use self :: HasArg :: * ;
Original file line number Diff line number Diff line change 284
284
//! * [DOT language](http://www.graphviz.org/doc/info/lang.html)
285
285
286
286
#![ crate_name = "graphviz" ]
287
- #![ unstable( feature = "rustc_private" , issue = "27812" ) ]
288
- #![ feature( staged_api) ]
287
+ #![ cfg_attr ( stage0 , unstable( feature = "rustc_private" , issue = "27812" ) ) ]
288
+ #![ cfg_attr ( stage0 , feature( staged_api) ) ]
289
289
#![ crate_type = "rlib" ]
290
290
#![ crate_type = "dylib" ]
291
291
#![ doc( html_logo_url = "https://www.rust-lang.org/logos/rust-logo-128x128-blk-v2.png" ,
Original file line number Diff line number Diff line change 72
72
//! }
73
73
//! ```
74
74
#![ crate_name = "proc_macro_plugin" ]
75
- #![ unstable( feature = "rustc_private" , issue = "27812" ) ]
75
+ #![ cfg_attr ( stage0 , unstable( feature = "rustc_private" , issue = "27812" ) ) ]
76
76
#![ feature( plugin_registrar) ]
77
77
#![ crate_type = "dylib" ]
78
78
#![ crate_type = "rlib" ]
81
81
html_root_url = "https://doc.rust-lang.org/nightly/" ) ]
82
82
#![ deny( warnings) ]
83
83
84
- #![ feature( staged_api) ]
84
+ #![ cfg_attr ( stage0 , feature( staged_api) ) ]
85
85
#![ feature( rustc_diagnostic_macros) ]
86
- #![ feature( rustc_private) ]
86
+ #![ cfg_attr ( stage0 , feature( rustc_private) ) ]
87
87
88
88
extern crate rustc_plugin;
89
89
extern crate syntax;
Original file line number Diff line number Diff line change 15
15
//! This API is completely unstable and subject to change.
16
16
17
17
#![ crate_name = "rustc" ]
18
- #![ unstable( feature = "rustc_private" , issue = "27812" ) ]
19
18
#![ crate_type = "dylib" ]
20
19
#![ crate_type = "rlib" ]
21
20
#![ doc( html_logo_url = "https://www.rust-lang.org/logos/rust-logo-128x128-blk-v2.png" ,
36
35
#![ feature( nonzero) ]
37
36
#![ feature( quote) ]
38
37
#![ feature( rustc_diagnostic_macros) ]
39
- #![ feature( rustc_private) ]
40
38
#![ feature( slice_patterns) ]
41
39
#![ feature( specialization) ]
42
- #![ feature( staged_api) ]
43
40
#![ feature( unboxed_closures) ]
44
41
#![ feature( discriminant_value) ]
45
42
#![ feature( sort_unstable) ]
46
43
#![ feature( trace_macros) ]
47
44
45
+ #![ cfg_attr( stage0, unstable( feature = "rustc_private" , issue = "27812" ) ) ]
46
+ #![ cfg_attr( stage0, feature( rustc_private) ) ]
47
+ #![ cfg_attr( stage0, feature( staged_api) ) ]
48
+
48
49
#![ recursion_limit="128" ]
49
50
50
51
extern crate arena;
Original file line number Diff line number Diff line change 22
22
//! build speedups.
23
23
24
24
#![ crate_name = "rustc_back" ]
25
- #![ unstable( feature = "rustc_private" , issue = "27812" ) ]
26
25
#![ crate_type = "dylib" ]
27
26
#![ crate_type = "rlib" ]
28
27
#![ doc( html_logo_url = "https://www.rust-lang.org/logos/rust-logo-128x128-blk-v2.png" ,
34
33
#![ feature( const_fn) ]
35
34
#![ feature( libc) ]
36
35
#![ feature( rand) ]
37
- #![ feature( rustc_private) ]
38
- #![ feature( staged_api) ]
39
36
#![ cfg_attr( test, feature( rand) ) ]
40
37
38
+ #![ cfg_attr( stage0, unstable( feature = "rustc_private" , issue = "27812" ) ) ]
39
+ #![ cfg_attr( stage0, feature( rustc_private) ) ]
40
+ #![ cfg_attr( stage0, feature( staged_api) ) ]
41
+
41
42
extern crate syntax;
42
43
extern crate libc;
43
44
extern crate serialize;
Original file line number Diff line number Diff line change 11
11
12
12
#![ crate_name = "rustc_bitflags" ]
13
13
#![ feature( associated_consts) ]
14
- #![ feature( staged_api) ]
15
14
#![ crate_type = "rlib" ]
16
15
#![ no_std]
17
- #![ unstable( feature = "rustc_private" , issue = "27812" ) ]
18
16
#![ deny( warnings) ]
17
+ #![ cfg_attr( stage0, unstable( feature = "rustc_private" , issue = "27812" ) ) ]
18
+ #![ cfg_attr( stage0, feature( staged_api) ) ]
19
19
20
20
//! A typesafe bitmask flag generator.
21
21
Original file line number Diff line number Diff line change 9
9
// except according to those terms.
10
10
11
11
#![ crate_name = "rustc_borrowck" ]
12
- #![ unstable( feature = "rustc_private" , issue = "27812" ) ]
13
12
#![ crate_type = "dylib" ]
14
13
#![ crate_type = "rlib" ]
15
14
#![ doc( html_logo_url = "https://www.rust-lang.org/logos/rust-logo-128x128-blk-v2.png" ,
21
20
22
21
#![ feature( quote) ]
23
22
#![ feature( rustc_diagnostic_macros) ]
24
- #![ feature( rustc_private) ]
25
- #![ feature( staged_api) ]
26
23
#![ feature( associated_consts) ]
27
24
#![ feature( nonzero) ]
25
+
26
+ #![ cfg_attr( stage0, unstable( feature = "rustc_private" , issue = "27812" ) ) ]
27
+ #![ cfg_attr( stage0, feature( rustc_private) ) ]
28
+ #![ cfg_attr( stage0, feature( staged_api) ) ]
29
+
28
30
#[ macro_use] extern crate log;
29
31
#[ macro_use] extern crate syntax;
30
32
extern crate syntax_pos;
Original file line number Diff line number Diff line change 15
15
//! This API is completely unstable and subject to change.
16
16
17
17
#![ crate_name = "rustc_const_eval" ]
18
- #![ unstable( feature = "rustc_private" , issue = "27812" ) ]
19
18
#![ crate_type = "dylib" ]
20
19
#![ crate_type = "rlib" ]
21
20
#![ doc( html_logo_url = "https://www.rust-lang.org/logos/rust-logo-128x128-blk-v2.png" ,
22
21
html_favicon_url = "https://doc.rust-lang.org/favicon.ico" ,
23
22
html_root_url = "https://doc.rust-lang.org/nightly/" ) ]
24
23
#![ deny( warnings) ]
25
24
26
- #![ feature( rustc_private) ]
27
- #![ feature( staged_api) ]
28
25
#![ feature( rustc_diagnostic_macros) ]
29
26
#![ feature( slice_patterns) ]
30
27
#![ feature( box_patterns) ]
31
28
#![ feature( box_syntax) ]
32
29
#![ feature( const_fn) ]
33
30
#![ feature( i128_type) ]
34
31
32
+ #![ cfg_attr( stage0, unstable( feature = "rustc_private" , issue = "27812" ) ) ]
33
+ #![ cfg_attr( stage0, feature( rustc_private) ) ]
34
+ #![ cfg_attr( stage0, feature( staged_api) ) ]
35
+
35
36
extern crate arena;
36
37
#[ macro_use] extern crate syntax;
37
38
#[ macro_use] extern crate log;
Original file line number Diff line number Diff line change 15
15
//! This API is completely unstable and subject to change.
16
16
17
17
#![ crate_name = "rustc_const_math" ]
18
- #![ unstable( feature = "rustc_private" , issue = "27812" ) ]
19
18
#![ crate_type = "dylib" ]
20
19
#![ crate_type = "rlib" ]
21
20
#![ doc( html_logo_url = "https://www.rust-lang.org/logos/rust-logo-128x128-blk-v2.png" ,
22
21
html_favicon_url = "https://doc.rust-lang.org/favicon.ico" ,
23
22
html_root_url = "https://doc.rust-lang.org/nightly/" ) ]
24
23
#![ deny( warnings) ]
25
24
26
- #![ feature( rustc_private) ]
27
- #![ feature( staged_api) ]
28
25
#![ feature( const_fn) ]
29
26
#![ feature( i128 ) ]
30
27
#![ feature( i128_type) ]
31
28
29
+ #![ cfg_attr( stage0, unstable( feature = "rustc_private" , issue = "27812" ) ) ]
30
+ #![ cfg_attr( stage0, feature( rustc_private) ) ]
31
+ #![ cfg_attr( stage0, feature( staged_api) ) ]
32
+
32
33
extern crate syntax;
33
34
34
35
extern crate serialize as rustc_serialize; // used by deriving
Original file line number Diff line number Diff line change 17
17
//! This API is completely unstable and subject to change.
18
18
19
19
#![ crate_name = "rustc_data_structures" ]
20
- #![ unstable( feature = "rustc_private" , issue = "27812" ) ]
21
20
#![ crate_type = "dylib" ]
22
21
#![ crate_type = "rlib" ]
23
22
#![ doc( html_logo_url = "https://www.rust-lang.org/logos/rust-logo-128x128-blk-v2.png" ,
28
27
#![ feature( shared) ]
29
28
#![ feature( collections_range) ]
30
29
#![ feature( nonzero) ]
31
- #![ feature( rustc_private) ]
32
- #![ feature( staged_api) ]
33
30
#![ feature( unboxed_closures) ]
34
31
#![ feature( fn_traits) ]
35
32
#![ feature( untagged_unions) ]
42
39
#![ feature( manually_drop) ]
43
40
#![ feature( struct_field_attributes) ]
44
41
42
+ #![ cfg_attr( stage0, unstable( feature = "rustc_private" , issue = "27812" ) ) ]
43
+ #![ cfg_attr( stage0, feature( rustc_private) ) ]
44
+ #![ cfg_attr( stage0, feature( staged_api) ) ]
45
+
45
46
#![ cfg_attr( unix, feature( libc) ) ]
46
47
#![ cfg_attr( test, feature( test) ) ]
47
48
Original file line number Diff line number Diff line change 15
15
//! This API is completely unstable and subject to change.
16
16
17
17
#![ crate_name = "rustc_driver" ]
18
- #![ unstable( feature = "rustc_private" , issue = "27812" ) ]
19
18
#![ crate_type = "dylib" ]
20
19
#![ crate_type = "rlib" ]
21
20
#![ doc( html_logo_url = "https://www.rust-lang.org/logos/rust-logo-128x128-blk-v2.png" ,
28
27
#![ feature( libc) ]
29
28
#![ feature( quote) ]
30
29
#![ feature( rustc_diagnostic_macros) ]
31
- #![ feature( rustc_private) ]
32
30
#![ feature( set_stdio) ]
33
- #![ feature( staged_api) ]
31
+
32
+ #![ cfg_attr( stage0, unstable( feature = "rustc_private" , issue = "27812" ) ) ]
33
+ #![ cfg_attr( stage0, feature( rustc_private) ) ]
34
+ #![ cfg_attr( stage0, feature( staged_api) ) ]
34
35
35
36
extern crate arena;
36
37
extern crate getopts;
Original file line number Diff line number Diff line change 9
9
// except according to those terms.
10
10
11
11
#![ crate_name = "rustc_errors" ]
12
- #![ unstable( feature = "rustc_private" , issue = "27812" ) ]
13
12
#![ crate_type = "dylib" ]
14
13
#![ crate_type = "rlib" ]
15
14
#![ doc( html_logo_url = "https://www.rust-lang.org/logos/rust-logo-128x128-blk-v2.png" ,
19
18
20
19
#![ feature( custom_attribute) ]
21
20
#![ allow( unused_attributes) ]
22
- #![ feature( rustc_private) ]
23
- #![ feature( staged_api) ]
24
21
#![ feature( range_contains) ]
25
22
#![ feature( libc) ]
26
23
24
+ #![ cfg_attr( stage0, unstable( feature = "rustc_private" , issue = "27812" ) ) ]
25
+ #![ cfg_attr( stage0, feature( rustc_private) ) ]
26
+ #![ cfg_attr( stage0, feature( staged_api) ) ]
27
+
27
28
extern crate term;
28
29
extern crate libc;
29
30
extern crate serialize as rustc_serialize;
Original file line number Diff line number Diff line change 11
11
//! Support for serializing the dep-graph and reloading it.
12
12
13
13
#![ crate_name = "rustc_incremental" ]
14
- #![ unstable( feature = "rustc_private" , issue = "27812" ) ]
15
14
#![ crate_type = "dylib" ]
16
15
#![ crate_type = "rlib" ]
17
16
#![ doc( html_logo_url = "https://www.rust-lang.org/logos/rust-logo-128x128-blk-v2.png" ,
18
17
html_favicon_url = "https://doc.rust-lang.org/favicon.ico" ,
19
18
html_root_url = "https://doc.rust-lang.org/nightly/" ) ]
20
19
#![ deny( warnings) ]
21
20
22
- #![ feature( rustc_private) ]
23
- #![ feature( staged_api) ]
24
21
#![ feature( rand) ]
25
22
#![ feature( conservative_impl_trait) ]
26
23
#![ feature( sort_unstable) ]
27
24
25
+ #![ cfg_attr( stage0, unstable( feature = "rustc_private" , issue = "27812" ) ) ]
26
+ #![ cfg_attr( stage0, feature( rustc_private) ) ]
27
+ #![ cfg_attr( stage0, feature( staged_api) ) ]
28
+
28
29
extern crate graphviz;
29
30
#[ macro_use] extern crate rustc;
30
31
extern crate rustc_data_structures;
Original file line number Diff line number Diff line change 20
20
//! This API is completely unstable and subject to change.
21
21
22
22
#![ crate_name = "rustc_lint" ]
23
- #![ unstable( feature = "rustc_private" , issue = "27812" ) ]
24
23
#![ crate_type = "dylib" ]
25
24
#![ crate_type = "rlib" ]
26
25
#![ doc( html_logo_url = "https://www.rust-lang.org/logos/rust-logo-128x128-blk-v2.png" ,
34
33
#![ feature( i128_type) ]
35
34
#![ feature( quote) ]
36
35
#![ feature( rustc_diagnostic_macros) ]
37
- #![ feature( rustc_private) ]
38
36
#![ feature( slice_patterns) ]
39
- #![ feature( staged_api) ]
37
+
38
+ #![ cfg_attr( stage0, unstable( feature = "rustc_private" , issue = "27812" ) ) ]
39
+ #![ cfg_attr( stage0, feature( rustc_private) ) ]
40
+ #![ cfg_attr( stage0, feature( staged_api) ) ]
40
41
41
42
#[ macro_use]
42
43
extern crate syntax;
Original file line number Diff line number Diff line change 14
14
#![ allow( dead_code) ]
15
15
16
16
#![ crate_name = "rustc_llvm" ]
17
- #![ unstable( feature = "rustc_private" , issue = "27812" ) ]
18
17
#![ crate_type = "dylib" ]
19
18
#![ crate_type = "rlib" ]
20
19
#![ doc( html_logo_url = "https://www.rust-lang.org/logos/rust-logo-128x128-blk-v2.png" ,
27
26
#![ feature( concat_idents) ]
28
27
#![ feature( libc) ]
29
28
#![ feature( link_args) ]
30
- #![ feature( staged_api) ]
31
- #![ feature( rustc_private) ]
32
29
#![ feature( static_nobundle) ]
33
30
31
+ #![ cfg_attr( stage0, unstable( feature = "rustc_private" , issue = "27812" ) ) ]
32
+ #![ cfg_attr( stage0, feature( rustc_private) ) ]
33
+ #![ cfg_attr( stage0, feature( staged_api) ) ]
34
+
34
35
extern crate libc;
35
36
#[ macro_use]
36
37
#[ no_link]
You can’t perform that action at this time.
0 commit comments