summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEmilio Cobos Álvarez <emilio@crisal.io>2018-09-19 02:36:48 +0200
committerEmilio Cobos Álvarez <emilio@crisal.io>2018-09-19 02:36:48 +0200
commitcf7bb3c180da0dcf2360967698e6b19fd4e21d4e (patch)
tree45ab64e955cbd66e454d8d34da3fecb2bc4054f0
parenta54a9dc796372478d26fa5b165c3b4d129cbcfce (diff)
Add detection for i128 / u128 support.
-rw-r--r--src/features.rs6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/features.rs b/src/features.rs
index 257d7697..671464ab 100644
--- a/src/features.rs
+++ b/src/features.rs
@@ -96,6 +96,8 @@ macro_rules! rust_target_base {
=> Stable_1_21 => 1.21;
/// Rust stable 1.25
=> Stable_1_25 => 1.25;
+ /// Rust stable 1.26
+ => Stable_1_26 => 1.26;
/// Nightly rust
=> Nightly => nightly;
);
@@ -172,6 +174,10 @@ rust_feature_def!(
/// repr(align) ([PR](https://github.com/rust-lang/rust/pull/47006))
=> repr_align;
}
+ Stable_1_26 {
+ /// [i128 / u128 support](https://doc.rust-lang.org/std/primitive.i128.html)
+ => i128_and_u128;
+ }
Nightly {
/// `thiscall` calling convention ([Tracking issue](https://github.com/rust-lang/rust/issues/42202))
=> thiscall_abi;