From 5d549e9d78da5167c6fc4564b043e3cc0de445a6 Mon Sep 17 00:00:00 2001 From: Trevor Gross Date: Mon, 27 Oct 2025 04:02:48 -0400 Subject: [PATCH] ci: Also check builds with `musl_v1_2_3` --- ci/verify-build.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ci/verify-build.py b/ci/verify-build.py index c5eb22dbd770..2d57bd81bcea 100755 --- a/ci/verify-build.py +++ b/ci/verify-build.py @@ -281,6 +281,10 @@ def test_target(cfg: Cfg, target: Target): # Equivalent of _TIME_BITS=64 run(cmd, env=env | {"RUST_LIBC_UNSTABLE_GNU_TIME_BITS": "64"}) + if "musl" in target_env: + # Check with breaking changes from musl, including 64-bit time_t on 32-bit + run(cmd, env=env | {"RUST_LIBC_UNSTABLE_MUSL_V1_2_3": "1"}) + # Test again without default features, i.e. without `std` run(cmd + ["--no-default-features"]) run(cmd + ["--no-default-features", "--features=extra_traits"])