Skip to content

Commit cf7bb3c

Browse files
committed
Add detection for i128 / u128 support.
1 parent a54a9dc commit cf7bb3c

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/features.rs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,8 @@ macro_rules! rust_target_base {
9696
=> Stable_1_21 => 1.21;
9797
/// Rust stable 1.25
9898
=> Stable_1_25 => 1.25;
99+
/// Rust stable 1.26
100+
=> Stable_1_26 => 1.26;
99101
/// Nightly rust
100102
=> Nightly => nightly;
101103
);
@@ -172,6 +174,10 @@ rust_feature_def!(
172174
/// repr(align) ([PR](https://github.com/rust-lang/rust/pull/47006))
173175
=> repr_align;
174176
}
177+
Stable_1_26 {
178+
/// [i128 / u128 support](https://doc.rust-lang.org/std/primitive.i128.html)
179+
=> i128_and_u128;
180+
}
175181
Nightly {
176182
/// `thiscall` calling convention ([Tracking issue](https://github.com/rust-lang/rust/issues/42202))
177183
=> thiscall_abi;

0 commit comments

Comments
 (0)