|
2 | 2 |
|
3 | 3 | #![deny(missing_docs)]
|
4 | 4 | #![deny(unused_extern_crates)]
|
| 5 | +#![allow(deprecated)] |
5 | 6 |
|
6 | 7 | use std::io;
|
7 | 8 | use std::str::FromStr;
|
@@ -86,35 +87,35 @@ macro_rules! rust_target_base {
|
86 | 87 | ( $x_macro:ident ) => {
|
87 | 88 | $x_macro!(
|
88 | 89 | /// Rust stable 1.0
|
89 |
| - => Stable_1_0 => 1.0; |
| 90 | + #[deprecated = "This rust target is deprecated. If you have a good reason to use this target please report it at https://github.com/rust-lang/rust-bindgen/issues"] => Stable_1_0 => 1.0; |
90 | 91 | /// Rust stable 1.17
|
91 | 92 | /// * Static lifetime elision ([RFC 1623](https://github.com/rust-lang/rfcs/blob/master/text/1623-static.md))
|
92 |
| - => Stable_1_17 => 1.17; |
| 93 | + #[deprecated = "This rust target is deprecated. If you have a good reason to use this target please report it at https://github.com/rust-lang/rust-bindgen/issues"] => Stable_1_17 => 1.17; |
93 | 94 | /// Rust stable 1.19
|
94 | 95 | /// * Untagged unions ([RFC 1444](https://github.com/rust-lang/rfcs/blob/master/text/1444-union.md))
|
95 |
| - => Stable_1_19 => 1.19; |
| 96 | + #[deprecated = "This rust target is deprecated. If you have a good reason to use this target please report it at https://github.com/rust-lang/rust-bindgen/issues"] => Stable_1_19 => 1.19; |
96 | 97 | /// Rust stable 1.20
|
97 | 98 | /// * Associated constants ([PR](https://github.com/rust-lang/rust/pull/42809))
|
98 |
| - => Stable_1_20 => 1.20; |
| 99 | + #[deprecated = "This rust target is deprecated. If you have a good reason to use this target please report it at https://github.com/rust-lang/rust-bindgen/issues"] => Stable_1_20 => 1.20; |
99 | 100 | /// Rust stable 1.21
|
100 | 101 | /// * Builtin impls for `Clone` ([PR](https://github.com/rust-lang/rust/pull/43690))
|
101 |
| - => Stable_1_21 => 1.21; |
| 102 | + #[deprecated = "This rust target is deprecated. If you have a good reason to use this target please report it at https://github.com/rust-lang/rust-bindgen/issues"] => Stable_1_21 => 1.21; |
102 | 103 | /// Rust stable 1.25
|
103 | 104 | /// * `repr(align)` ([PR](https://github.com/rust-lang/rust/pull/47006))
|
104 |
| - => Stable_1_25 => 1.25; |
| 105 | + #[deprecated = "This rust target is deprecated. If you have a good reason to use this target please report it at https://github.com/rust-lang/rust-bindgen/issues"] => Stable_1_25 => 1.25; |
105 | 106 | /// Rust stable 1.26
|
106 | 107 | /// * [i128 / u128 support](https://doc.rust-lang.org/std/primitive.i128.html)
|
107 |
| - => Stable_1_26 => 1.26; |
| 108 | + #[deprecated = "This rust target is deprecated. If you have a good reason to use this target please report it at https://github.com/rust-lang/rust-bindgen/issues"] => Stable_1_26 => 1.26; |
108 | 109 | /// Rust stable 1.27
|
109 | 110 | /// * `must_use` attribute on functions ([PR](https://github.com/rust-lang/rust/pull/48925))
|
110 |
| - => Stable_1_27 => 1.27; |
| 111 | + #[deprecated = "This rust target is deprecated. If you have a good reason to use this target please report it at https://github.com/rust-lang/rust-bindgen/issues"] => Stable_1_27 => 1.27; |
111 | 112 | /// Rust stable 1.28
|
112 | 113 | /// * `repr(transparent)` ([PR](https://github.com/rust-lang/rust/pull/51562))
|
113 |
| - => Stable_1_28 => 1.28; |
| 114 | + #[deprecated = "This rust target is deprecated. If you have a good reason to use this target please report it at https://github.com/rust-lang/rust-bindgen/issues"] => Stable_1_28 => 1.28; |
114 | 115 | /// Rust stable 1.30
|
115 | 116 | /// * `const fn` support for limited cases ([PR](https://github.com/rust-lang/rust/pull/54835/)
|
116 | 117 | /// * [c_void available in core](https://doc.rust-lang.org/core/ffi/enum.c_void.html)
|
117 |
| - => Stable_1_30 => 1.30; |
| 118 | + #[deprecated = "This rust target is deprecated. If you have a good reason to use this target please report it at https://github.com/rust-lang/rust-bindgen/issues"] => Stable_1_30 => 1.30; |
118 | 119 | /// Rust stable 1.33
|
119 | 120 | /// * repr(packed(N)) ([PR](https://github.com/rust-lang/rust/pull/57049))
|
120 | 121 | => Stable_1_33 => 1.33;
|
|
0 commit comments