Skip to content

Commit a8991cd

Browse files
committed
fix(ci): drop watchOS from release cross-compile — ring 0.17.14 bug (v0.5.888)
v0.5.887's macOS aarch64 build failed because the workflow cross-compiles to `arm64_32-apple-watchos` (32-bit ARM pointers with 64-bit regs). ring 0.17.14 has a const-eval assertion (`size_of::<usize>() == _ASSUMED_POINTER_SIZE`) that fails for arm64_32, plus aes_gcm/aarch64.rs calls a method that doesn't exist on its own gcm::Context. Drop watchOS from both the cross-compile build loop and the staging-copy loop. tvOS + visionOS unaffected (aarch64 only). watchOS users who want native binaries are on a tier-3 follow-up path anyway. Re-add when ring publishes a fix.
1 parent ef36ffa commit a8991cd

1 file changed

Lines changed: 9 additions & 4 deletions

File tree

.github/workflows/release-packages.yml

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -280,10 +280,15 @@ jobs:
280280
run: |
281281
set -e
282282
# Format: "<platform>:<device-triple>:<sim-triple>"
283+
# watchOS dropped v0.5.888: ring 0.17.14 has a pointer-size
284+
# assertion that fails for `arm64_32-apple-watchos` (32-bit
285+
# pointers with 64-bit regs). Sim target (aarch64-apple-watchos-sim)
286+
# also dropped to keep the matrix simple — re-add both when
287+
# ring publishes a fix or we pin to a working pre-0.17.14
288+
# version.
283289
for entry in \
284290
"tvos:aarch64-apple-tvos:aarch64-apple-tvos-sim" \
285-
"visionos:aarch64-apple-visionos:aarch64-apple-visionos-sim" \
286-
"watchos:arm64_32-apple-watchos:aarch64-apple-watchos-sim"; do
291+
"visionos:aarch64-apple-visionos:aarch64-apple-visionos-sim"; do
287292
plat="${entry%%:*}"
288293
rest="${entry#*:}"
289294
dev="${rest%%:*}"
@@ -346,10 +351,10 @@ jobs:
346351
# Closes #396 / #397 / #398: same pattern as iOS for the Tier-3
347352
# Apple platforms. Device triple varies (watchOS = arm64_32) so
348353
# we drive the staging copy from the explicit triple list above.
354+
# watchOS dropped — see the build step above.
349355
for entry in \
350356
"tvos:aarch64-apple-tvos:aarch64-apple-tvos-sim" \
351-
"visionos:aarch64-apple-visionos:aarch64-apple-visionos-sim" \
352-
"watchos:arm64_32-apple-watchos:aarch64-apple-watchos-sim"; do
357+
"visionos:aarch64-apple-visionos:aarch64-apple-visionos-sim"; do
353358
plat="${entry%%:*}"
354359
rest="${entry#*:}"
355360
dev_triple="${rest%%:*}"

0 commit comments

Comments
 (0)