Skip to content

Commit d9ca05f

Browse files
committed
Fix MIPS tests
Tests failed to build due to use of legacy const generics syntax, out-of-bounds immediates and incorrect name of const generics in `assert_instr`
1 parent c80c8f4 commit d9ca05f

5 files changed

Lines changed: 286 additions & 275 deletions

File tree

ci/docker/mips64-unknown-linux-gnuabi64/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM ubuntu:25.10
1+
FROM ubuntu:25.04 # gcc-mips64-linux-gnuabi64 not available in 25.10
22

33
RUN apt-get update && apt-get install -y --no-install-recommends \
44
gcc libc6-dev qemu-user ca-certificates \

ci/docker/mips64el-unknown-linux-gnuabi64/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM ubuntu:25.10
1+
FROM ubuntu:25.04 # gcc-mips64el-linux-gnuabi64 not available in 25.10
22

33
RUN apt-get update && apt-get install -y --no-install-recommends \
44
gcc libc6-dev qemu-user ca-certificates \

crates/core_arch/src/lib.rs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,11 @@
7070
)]
7171
#![cfg_attr(
7272
test,
73-
feature(stdarch_arm_feature_detection, stdarch_powerpc_feature_detection,)
73+
feature(
74+
stdarch_arm_feature_detection,
75+
stdarch_mips_feature_detection,
76+
stdarch_powerpc_feature_detection,
77+
)
7478
)]
7579

7680
#[cfg(test)]

0 commit comments

Comments
 (0)