Skip to content

Commit 923a90e

Browse files
committed
ci: musl_time64: ensure correct testing
1 parent 2ef2231 commit 923a90e

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

ci/run-docker.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,8 @@ run() {
4545
--env LIBC_CI_ZBUILD_STD \
4646
--env RUST_LIBC_UNSTABLE_GNU_FILE_OFFSET_BITS \
4747
--env RUST_LIBC_UNSTABLE_GNU_TIME_BITS \
48+
--env RUST_LIBC_UNSTABLE_MUSL_V1_2_3 \
49+
--env RUST_LIBC_UNSTABLE_MUSL_TIME64 \
4850
--env CARGO_HOME=/cargo \
4951
--env CARGO_TARGET_DIR=/checkout/target \
5052
--volume "$CARGO_HOME":/cargo \

ci/verify-build.sh

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,15 @@ test_target() {
8383
# Test with the equivalent of _TIME_BITS=64
8484
RUST_LIBC_UNSTABLE_GNU_TIME_BITS=64 $cmd
8585
;;
86+
arm*-*-musl*|i*86-*-musl|powerpc-*-musl*|mips-*-musl|mipsel-*-musl)
87+
# Test with new musl changes and the equivalent of _REDIR_TIME64
88+
RUST_LIBC_UNSTABLE_MUSL_V1_2_3=1 \
89+
RUST_LIBC_UNSTABLE_MUSL_TIME64=1 $cmd
90+
;;
91+
*musl*)
92+
# Test with the new musl changes.
93+
RUST_LIBC_UNSTABLE_MUSL_V1_2_3=1 $cmd
94+
;;
8695
esac
8796
fi
8897

0 commit comments

Comments
 (0)