Skip to content

Conversation

@Jozott00
Copy link
Collaborator

Subsystem
gRPC/Native

Problem Description
Compilation failed for certain targets, as size_t dependent API differs between targets.

Solution
Add @OptIn(UnsafeNumber::class) for functions that use such API and ensure that they are still safe to call even on 32-bit targets.

@Jozott00 Jozott00 self-assigned this Nov 25, 2025
@Jozott00 Jozott00 added the bug Something isn't working label Nov 25, 2025
@Jozott00 Jozott00 requested a review from Mr3zee November 25, 2025 15:40
Copy link
Member

@Mr3zee Mr3zee left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Love the amount of unsafes

@Jozott00 Jozott00 merged commit e91237c into grpc-common Nov 26, 2025
7 of 8 checks passed
@Jozott00 Jozott00 deleted the grpc/fix-watchos-32 branch November 26, 2025 09:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants