|
8 | 8 |
|
9 | 9 | #![stable(feature = "raw_os", since = "1.1.0")]
|
10 | 10 |
|
11 |
| -#[cfg_attr(stage0, doc(include = "os/raw/char.md"))] |
12 |
| -#[cfg_attr(not(stage0), doc(include = "char.md"))] |
| 11 | +#[cfg_attr(bootstrap, doc(include = "os/raw/char.md"))] |
| 12 | +#[cfg_attr(not(bootstrap), doc(include = "char.md"))] |
13 | 13 | #[cfg(any(all(target_os = "linux", any(target_arch = "aarch64",
|
14 | 14 | target_arch = "arm",
|
15 | 15 | target_arch = "powerpc",
|
|
32 | 32 | target_arch = "powerpc")),
|
33 | 33 | all(target_os = "fuchsia", target_arch = "aarch64")))]
|
34 | 34 | #[stable(feature = "raw_os", since = "1.1.0")] pub type c_char = u8;
|
35 |
| -#[cfg_attr(stage0, doc(include = "os/raw/char.md"))] |
36 |
| -#[cfg_attr(not(stage0), doc(include = "char.md"))] |
| 35 | +#[cfg_attr(bootstrap, doc(include = "os/raw/char.md"))] |
| 36 | +#[cfg_attr(not(bootstrap), doc(include = "char.md"))] |
37 | 37 | #[cfg(not(any(all(target_os = "linux", any(target_arch = "aarch64",
|
38 | 38 | target_arch = "arm",
|
39 | 39 | target_arch = "powerpc",
|
|
56 | 56 | target_arch = "powerpc")),
|
57 | 57 | all(target_os = "fuchsia", target_arch = "aarch64"))))]
|
58 | 58 | #[stable(feature = "raw_os", since = "1.1.0")] pub type c_char = i8;
|
59 |
| -#[cfg_attr(stage0, doc(include = "os/raw/schar.md"))] |
60 |
| -#[cfg_attr(not(stage0), doc(include = "schar.md"))] |
| 59 | +#[cfg_attr(bootstrap, doc(include = "os/raw/schar.md"))] |
| 60 | +#[cfg_attr(not(bootstrap), doc(include = "schar.md"))] |
61 | 61 | #[stable(feature = "raw_os", since = "1.1.0")] pub type c_schar = i8;
|
62 |
| -#[cfg_attr(stage0, doc(include = "os/raw/uchar.md"))] |
63 |
| -#[cfg_attr(not(stage0), doc(include = "uchar.md"))] |
| 62 | +#[cfg_attr(bootstrap, doc(include = "os/raw/uchar.md"))] |
| 63 | +#[cfg_attr(not(bootstrap), doc(include = "uchar.md"))] |
64 | 64 | #[stable(feature = "raw_os", since = "1.1.0")] pub type c_uchar = u8;
|
65 |
| -#[cfg_attr(stage0, doc(include = "os/raw/short.md"))] |
66 |
| -#[cfg_attr(not(stage0), doc(include = "short.md"))] |
| 65 | +#[cfg_attr(bootstrap, doc(include = "os/raw/short.md"))] |
| 66 | +#[cfg_attr(not(bootstrap), doc(include = "short.md"))] |
67 | 67 | #[stable(feature = "raw_os", since = "1.1.0")] pub type c_short = i16;
|
68 |
| -#[cfg_attr(stage0, doc(include = "os/raw/ushort.md"))] |
69 |
| -#[cfg_attr(not(stage0), doc(include = "ushort.md"))] |
| 68 | +#[cfg_attr(bootstrap, doc(include = "os/raw/ushort.md"))] |
| 69 | +#[cfg_attr(not(bootstrap), doc(include = "ushort.md"))] |
70 | 70 | #[stable(feature = "raw_os", since = "1.1.0")] pub type c_ushort = u16;
|
71 |
| -#[cfg_attr(stage0, doc(include = "os/raw/int.md"))] |
72 |
| -#[cfg_attr(not(stage0), doc(include = "int.md"))] |
| 71 | +#[cfg_attr(bootstrap, doc(include = "os/raw/int.md"))] |
| 72 | +#[cfg_attr(not(bootstrap), doc(include = "int.md"))] |
73 | 73 | #[stable(feature = "raw_os", since = "1.1.0")] pub type c_int = i32;
|
74 |
| -#[cfg_attr(stage0, doc(include = "os/raw/uint.md"))] |
75 |
| -#[cfg_attr(not(stage0), doc(include = "uint.md"))] |
| 74 | +#[cfg_attr(bootstrap, doc(include = "os/raw/uint.md"))] |
| 75 | +#[cfg_attr(not(bootstrap), doc(include = "uint.md"))] |
76 | 76 | #[stable(feature = "raw_os", since = "1.1.0")] pub type c_uint = u32;
|
77 |
| -#[cfg_attr(stage0, doc(include = "os/raw/long.md"))] |
78 |
| -#[cfg_attr(not(stage0), doc(include = "long.md"))] |
| 77 | +#[cfg_attr(bootstrap, doc(include = "os/raw/long.md"))] |
| 78 | +#[cfg_attr(not(bootstrap), doc(include = "long.md"))] |
79 | 79 | #[cfg(any(target_pointer_width = "32", windows))]
|
80 | 80 | #[stable(feature = "raw_os", since = "1.1.0")] pub type c_long = i32;
|
81 |
| -#[cfg_attr(stage0, doc(include = "os/raw/ulong.md"))] |
82 |
| -#[cfg_attr(not(stage0), doc(include = "ulong.md"))] |
| 81 | +#[cfg_attr(bootstrap, doc(include = "os/raw/ulong.md"))] |
| 82 | +#[cfg_attr(not(bootstrap), doc(include = "ulong.md"))] |
83 | 83 | #[cfg(any(target_pointer_width = "32", windows))]
|
84 | 84 | #[stable(feature = "raw_os", since = "1.1.0")] pub type c_ulong = u32;
|
85 |
| -#[cfg_attr(stage0, doc(include = "os/raw/long.md"))] |
86 |
| -#[cfg_attr(not(stage0), doc(include = "long.md"))] |
| 85 | +#[cfg_attr(bootstrap, doc(include = "os/raw/long.md"))] |
| 86 | +#[cfg_attr(not(bootstrap), doc(include = "long.md"))] |
87 | 87 | #[cfg(all(target_pointer_width = "64", not(windows)))]
|
88 | 88 | #[stable(feature = "raw_os", since = "1.1.0")] pub type c_long = i64;
|
89 |
| -#[cfg_attr(stage0, doc(include = "os/raw/ulong.md"))] |
90 |
| -#[cfg_attr(not(stage0), doc(include = "ulong.md"))] |
| 89 | +#[cfg_attr(bootstrap, doc(include = "os/raw/ulong.md"))] |
| 90 | +#[cfg_attr(not(bootstrap), doc(include = "ulong.md"))] |
91 | 91 | #[cfg(all(target_pointer_width = "64", not(windows)))]
|
92 | 92 | #[stable(feature = "raw_os", since = "1.1.0")] pub type c_ulong = u64;
|
93 |
| -#[cfg_attr(stage0, doc(include = "os/raw/longlong.md"))] |
94 |
| -#[cfg_attr(not(stage0), doc(include = "longlong.md"))] |
| 93 | +#[cfg_attr(bootstrap, doc(include = "os/raw/longlong.md"))] |
| 94 | +#[cfg_attr(not(bootstrap), doc(include = "longlong.md"))] |
95 | 95 | #[stable(feature = "raw_os", since = "1.1.0")] pub type c_longlong = i64;
|
96 |
| -#[cfg_attr(stage0, doc(include = "os/raw/ulonglong.md"))] |
97 |
| -#[cfg_attr(not(stage0), doc(include = "ulonglong.md"))] |
| 96 | +#[cfg_attr(bootstrap, doc(include = "os/raw/ulonglong.md"))] |
| 97 | +#[cfg_attr(not(bootstrap), doc(include = "ulonglong.md"))] |
98 | 98 | #[stable(feature = "raw_os", since = "1.1.0")] pub type c_ulonglong = u64;
|
99 |
| -#[cfg_attr(stage0, doc(include = "os/raw/float.md"))] |
100 |
| -#[cfg_attr(not(stage0), doc(include = "float.md"))] |
| 99 | +#[cfg_attr(bootstrap, doc(include = "os/raw/float.md"))] |
| 100 | +#[cfg_attr(not(bootstrap), doc(include = "float.md"))] |
101 | 101 | #[stable(feature = "raw_os", since = "1.1.0")] pub type c_float = f32;
|
102 |
| -#[cfg_attr(stage0, doc(include = "os/raw/double.md"))] |
103 |
| -#[cfg_attr(not(stage0), doc(include = "double.md"))] |
| 102 | +#[cfg_attr(bootstrap, doc(include = "os/raw/double.md"))] |
| 103 | +#[cfg_attr(not(bootstrap), doc(include = "double.md"))] |
104 | 104 | #[stable(feature = "raw_os", since = "1.1.0")] pub type c_double = f64;
|
105 | 105 |
|
106 | 106 | #[stable(feature = "raw_os", since = "1.1.0")]
|
|
0 commit comments