Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add *-apple-{visionos,watchos} support; CI: build tvOS,visionOS,watchOS. #2112

Merged
merged 1 commit into from
Jun 21, 2024

Conversation

briansmith
Copy link
Owner

No description provided.

@briansmith briansmith self-assigned this Jun 20, 2024
Copy link

codecov bot commented Jun 20, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 97.08%. Comparing base (481462e) to head (1b8f998).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #2112   +/-   ##
=======================================
  Coverage   97.07%   97.08%           
=======================================
  Files         144      144           
  Lines       20124    20124           
  Branches      456      456           
=======================================
+ Hits        19535    19537    +2     
  Misses        492      492           
+ Partials       97       95    -2     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@briansmith briansmith force-pushed the b/apple-targets branch 8 times, most recently from 429ce5c to 6e06cf8 Compare June 20, 2024 22:27
@briansmith briansmith changed the title CI: Build more apple targets in CI. Add *-apple-{visionos,watchos} support; CI: build tvOS,visionOS,watchOS. Jun 20, 2024
@briansmith
Copy link
Owner Author

Note that this might cause some large tables to be added to the build for P-256 and X25519 that weren't included before, which could significantly bloat the size of the app. This might be especially concerning for watchOS applications. We may want to merge BoringSSL's https://boringssl.googlesource.com/boringssl/+/20c9406971b39d214d4d6997f3a6e3ec772c440a to address this.

This was referenced Jun 20, 2024
@briansmith briansmith force-pushed the b/apple-targets branch 12 times, most recently from 21c0631 to 0e22316 Compare June 21, 2024 04:17
Change visionOS and watchOS to use the assembly implementations like
iOS, macOS, and tvOS were already. The large tables for P-256 and
Curve25519 probably aren't appropriate for watchOS; that will be
addressed later, maybe by merging BoringSSL commit
20c9406.

Use the same C compiler options for all these targets.
@briansmith briansmith merged commit 2bec9b2 into main Jun 21, 2024
158 checks passed
@briansmith briansmith deleted the b/apple-targets branch June 21, 2024 05:15
@eugenehp
Copy link

Looks good, just be careful with the target_vendor part rust-lang/rust#100343

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