Skip to content

Commit 44fe8c9

Browse files
committed
ci: musl_time64: ensure correct testing
1 parent 3423d97 commit 44fe8c9

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
@@ -81,6 +81,15 @@ test_target() {
8181
# Test with the equivalent of _TIME_BITS=64
8282
RUST_LIBC_UNSTABLE_GNU_TIME_BITS=64 $cmd
8383
;;
84+
arm*-musl*|i*86-musl|powerpc-*-musl*|mips*-musl|thumb-*musl*)
85+
# Test with new musl changes and the equivalent of _REDIR_TIME64
86+
RUST_LIBC_UNSTABLE_MUSL_V1_2_3=1 \
87+
RUST_LIBC_UNSTABLE_MUSL_TIME64=1 $cmd
88+
;;
89+
*musl*)
90+
# Test with the new musl changes.
91+
RUST_LIBC_UNSTABLE_MUSL_V1_2_3=1 $cmd
92+
;;
8493
esac
8594
fi
8695

0 commit comments

Comments
 (0)