File tree Expand file tree Collapse file tree 5 files changed +15
-0
lines changed
crates/std_detect/src/detect/arch Expand file tree Collapse file tree 5 files changed +15
-0
lines changed Original file line number Diff line number Diff line change @@ -37,6 +37,9 @@ pub enum Feature {
37
37
neon,
38
38
/// Polynomial Multiply
39
39
pmull,
40
+
41
+ // Do not add variants after last:
42
+ _last,
40
43
}
41
44
42
45
impl Feature {
Original file line number Diff line number Diff line change @@ -27,6 +27,9 @@ macro_rules! is_mips_feature_detected {
27
27
pub enum Feature {
28
28
/// MIPS SIMD Architecture (MSA)
29
29
msa,
30
+
31
+ // Do not add variants after last:
32
+ _last,
30
33
}
31
34
32
35
impl Feature {
Original file line number Diff line number Diff line change @@ -27,6 +27,9 @@ macro_rules! is_mips64_feature_detected {
27
27
pub enum Feature {
28
28
/// MIPS SIMD Architecture (MSA)
29
29
msa,
30
+
31
+ // Do not add variants after last:
32
+ _last,
30
33
}
31
34
32
35
impl Feature {
Original file line number Diff line number Diff line change @@ -40,6 +40,9 @@ pub enum Feature {
40
40
vsx,
41
41
/// Power8
42
42
power8,
43
+
44
+ // Do not add variants after last:
45
+ _last,
43
46
}
44
47
45
48
impl Feature {
Original file line number Diff line number Diff line change @@ -40,6 +40,9 @@ pub enum Feature {
40
40
vsx,
41
41
/// Power8
42
42
power8,
43
+
44
+ // Do not add variants after last:
45
+ _last,
43
46
}
44
47
45
48
impl Feature {
You can’t perform that action at this time.
0 commit comments