File tree 1 file changed +7
-3
lines changed
1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -120,9 +120,11 @@ macro_rules! rust_target_base {
120
120
/// Rust stable 1.36
121
121
/// * `MaybeUninit` instead of `mem::uninitialized()` ([PR](https://github.com/rust-lang/rust/pull/60445))
122
122
=> Stable_1_36 => 1.36 ;
123
+ /// Rust stable 1.40
124
+ /// * `non_exhaustive` enums/structs ([Tracking issue](https://github.com/rust-lang/rust/issues/44109))
125
+ => Stable_1_40 => 1.40 ;
123
126
/// Nightly rust
124
127
/// * `thiscall` calling convention ([Tracking issue](https://github.com/rust-lang/rust/issues/42202))
125
- /// * `non_exhaustive` enums/structs ([Tracking issue](https://github.com/rust-lang/rust/issues/44109))
126
128
=> Nightly => nightly;
127
129
) ;
128
130
}
@@ -132,7 +134,7 @@ rust_target_base!(rust_target_def);
132
134
rust_target_base ! ( rust_target_values_def) ;
133
135
134
136
/// Latest stable release of Rust
135
- pub const LATEST_STABLE_RUST : RustTarget = RustTarget :: Stable_1_36 ;
137
+ pub const LATEST_STABLE_RUST : RustTarget = RustTarget :: Stable_1_40 ;
136
138
137
139
/// Create RustFeatures struct definition, new(), and a getter for each field
138
140
macro_rules! rust_feature_def {
@@ -217,9 +219,11 @@ rust_feature_def!(
217
219
Stable_1_36 {
218
220
=> maybe_uninit;
219
221
}
222
+ Stable_1_40 {
223
+ => non_exhaustive;
224
+ }
220
225
Nightly {
221
226
=> thiscall_abi;
222
- => non_exhaustive;
223
227
}
224
228
) ;
225
229
You can’t perform that action at this time.
0 commit comments