Skip to content

Commit 806d311

Browse files
committed
ci: Also check builds with musl_v1_2_3
(backport <#4784>) (cherry picked from commit 7b9f8fd)
1 parent ecee472 commit 806d311

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

ci/verify-build.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -281,6 +281,10 @@ def test_target(cfg: Cfg, target: Target):
281281
# Equivalent of _TIME_BITS=64
282282
run(cmd, env=env | {"RUST_LIBC_UNSTABLE_GNU_TIME_BITS": "64"})
283283

284+
if "musl" in target_env:
285+
# Check with breaking changes from musl, including 64-bit time_t on 32-bit
286+
run(cmd, env=env | {"RUST_LIBC_UNSTABLE_MUSL_V1_2_3": "1"})
287+
284288
# Test again without default features, i.e. without `std`
285289
run(cmd + ["--no-default-features"])
286290
run(cmd + ["--no-default-features", "--features=extra_traits"])

0 commit comments

Comments
 (0)