Skip to content

Extend String.UTF8View.span watchOS workaround to armv7k#27

Merged
rnro merged 1 commit into
apple:mainfrom
rnro:availability
Jun 18, 2026
Merged

Extend String.UTF8View.span watchOS workaround to armv7k#27
rnro merged 1 commit into
apple:mainfrom
rnro:availability

Conversation

@rnro

@rnro rnro commented Jun 18, 2026

Copy link
Copy Markdown
Contributor

The existing fallback in InPlaceSerializer.fixedLengthUTF8 and FrameSerializer.fixedLengthUTF8 was gated on
#if os(watchOS) && arch(arm64_32). CI also builds for the older armv7k watchOS arch (arch(arm)), where String.UTF8View.span is likewise unavailable. Widen the condition to
arch(arm64_32) || arch(arm).

The existing fallback in `InPlaceSerializer.fixedLengthUTF8` and
`FrameSerializer.fixedLengthUTF8` was gated on
`#if os(watchOS) && arch(arm64_32)`. CI also builds for the older
`armv7k` watchOS arch (`arch(arm)`), where `String.UTF8View.span`
is likewise unavailable. Widen the condition to
`arch(arm64_32) || arch(arm)`.
@rnro rnro merged commit 58f8a82 into apple:main Jun 18, 2026
39 of 40 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants