• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

KarpelesLab / libwallet / 24824209737
25%

Build:
DEFAULT BRANCH: master
Ran 23 Apr 2026 08:14AM UTC
Jobs 1
Files 106
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

23 Apr 2026 08:06AM UTC coverage: 20.135%. Remained the same
24824209737

push

github

MagicalTux
podspec: -exported_symbol for each FFI entry point

Release iOS builds had symbols present in the binary (-force_load
pulled the object code in; dSYM confirmed the code was there) but
dlsym(RTLD_DEFAULT, "LibwalletInit") returned NULL. Debug worked
because the debug dylib links with -rdynamic which exports
everything.

Cause: Xcode release builds strip the export trie for symbols that
nothing statically references, as part of dead-code elimination.
-force_load keeps the code; it does NOT keep the export trie entry.
dlsym searches the export trie, not the full symbol table, so the
code sits in the binary but is invisible to FFI.

Fix: pair -force_load with -exported_symbol _<name> for every
entry point from cshared/ffi.go:

  _LibwalletInit
  _LibwalletRequest
  _LibwalletSetEventCallback
  _LibwalletShowDebug
  _LibwalletDestroy
  _LibwalletFree

This forces ld to keep those specific symbols in the export trie
regardless of dead-strip, restoring dlsym on release builds while
preserving the DCE pass for everything else.

Also drafts the 0.4.0 CHANGELOG entry for the import/promote feature
that's been landing in the previous commits.

Reported against release testflight builds of a downstream app.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

2693 of 13375 relevant lines covered (20.13%)

58.48 hits per line

Jobs
ID Job ID Ran Files Coverage
1 24824209737.1 23 Apr 2026 08:14AM UTC 106
20.13
GitHub Action Run
Source Files on build 24824209737
  • Tree
  • List 106
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #24824209737
  • 8824da6a on github
  • Prev Build on master (#24823904957)
  • Next Build on master (#24828258854)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc