Skip to content

Commit 55ef561

Browse files
committed
fixup
1 parent a16f378 commit 55ef561

File tree

5 files changed

+15
-0
lines changed

5 files changed

+15
-0
lines changed

crates/std_detect/src/detect/arch/arm.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,9 @@ pub enum Feature {
3737
neon,
3838
/// Polynomial Multiply
3939
pmull,
40+
41+
// Do not add variants after last:
42+
_last,
4043
}
4144

4245
impl Feature {

crates/std_detect/src/detect/arch/mips.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,9 @@ macro_rules! is_mips_feature_detected {
2727
pub enum Feature {
2828
/// MIPS SIMD Architecture (MSA)
2929
msa,
30+
31+
// Do not add variants after last:
32+
_last,
3033
}
3134

3235
impl Feature {

crates/std_detect/src/detect/arch/mips64.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,9 @@ macro_rules! is_mips64_feature_detected {
2727
pub enum Feature {
2828
/// MIPS SIMD Architecture (MSA)
2929
msa,
30+
31+
// Do not add variants after last:
32+
_last,
3033
}
3134

3235
impl Feature {

crates/std_detect/src/detect/arch/powerpc.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,9 @@ pub enum Feature {
4040
vsx,
4141
/// Power8
4242
power8,
43+
44+
// Do not add variants after last:
45+
_last,
4346
}
4447

4548
impl Feature {

crates/std_detect/src/detect/arch/powerpc64.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,9 @@ pub enum Feature {
4040
vsx,
4141
/// Power8
4242
power8,
43+
44+
// Do not add variants after last:
45+
_last,
4346
}
4447

4548
impl Feature {

0 commit comments

Comments
 (0)