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

feat: add script to relink .a as a .o with exported symbols list #92

Closed
wants to merge 2 commits into from

Conversation

eseidel
Copy link
Contributor

@eseidel eseidel commented Sep 27, 2023

This should help us hide all the extra rust symbols when importing libupdater.a into libflutter.so.

@eseidel
Copy link
Contributor Author

eseidel commented Sep 27, 2023

I haven't successfully seen it link yet (hence why a draft).

@codecov
Copy link

codecov bot commented Sep 27, 2023

Codecov Report

All modified lines are covered by tests ✅

Comparison is base (194fdc3) 95.76% compared to head (6c08ea6) 95.71%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #92      +/-   ##
==========================================
- Coverage   95.76%   95.71%   -0.05%     
==========================================
  Files          17       17              
  Lines        2217     2217              
==========================================
- Hits         2123     2122       -1     
- Misses         94       95       +1     
Flag Coverage Δ
library 97.41% <ø> (-0.05%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

see 1 file with indirect coverage changes

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

This should help us hide all the extra rust symbols when importing
libupdater.a into libflutter.so.
@eseidel
Copy link
Contributor Author

eseidel commented Sep 28, 2023

OK, this works now and saves 2mb on iOS (still 6mb more to go).

Testing on Android.

@eseidel
Copy link
Contributor Author

eseidel commented Jun 6, 2024

Closing until we start measuring: shorebirdtech/docs#19

@eseidel eseidel closed this Jun 6, 2024
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.

1 participant