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

dart-lang / native / 23898102833
61%

Build:
DEFAULT BRANCH: main
Ran 02 Apr 2026 11:33AM UTC
Jobs 8
Files 293
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

02 Apr 2026 11:25AM UTC coverage: 61.212%. Remained the same
23898102833

push

github

web-flow
[code_assets] [record_use] Tree shake examples (#3267)

Use the `CLinker` and `record_use` to tree-shake the native code in the code assets examples.

Tree shaking effect:

```
# stb_image
-rwxr-xr-x  1 dacoharkes  primarygroup   188K Mar 27 11:48 libstb_image.dylib
# when only using stbi_info
-rwxr-xr-x  1 dacoharkes  primarygroup   118K Mar 27 11:51 libstb_image.dylib

# mini_audio
# full
-rwxr-xr-x  1 dacoharkes  primarygroup   666K Mar 27 12:03 libminiaudio.dylib
# when playing a wave file
-rwxr-xr-x  1 dacoharkes  primarygroup   447K Mar 27 12:03 libminiaudio.dylib
# and when not playing the wave file but only starting the audio engine
-rwxr-xr-x  1 dacoharkes  primarygroup   429K Mar 27 12:05 libminiaudio.dylib

# sqlite3
# full
-rwxr-xr-x  1 dacoharkes  primarygroup   1.2M Mar 27 11:44 libsqlite3.dylib
# when only using sqlite3_libversion
-rwxr-xr-x  1 dacoharkes  primarygroup    50K Mar 27 11:44 libsqlite3.dylib
```

Since the record-use experiment is disabled by default in the Dart SDK, this should be mostly a no-op for the examples. It does change the native build into two steps, building and linking.

Potential follow ups to make the code simpler:

* https://github.com/dart-lang/native/issues/3283
* https://github.com/dart-lang/native/issues/3284

Also, we haven't added FFIgen to the workspace yet, but this PR requires having the latest version, so I've used a path override. We should clean that up when we can. (Either when we release a next FFIgen stable or when we move FFIgen to the workspace.)

19657 of 32113 relevant lines covered (61.21%)

34.61 hits per line

Subprojects
ID Flag name Job ID Ran Files Coverage
6 native_pkgs_windows 23898102833.6 02 Apr 2026 11:44AM UTC 91
74.23
GitHub Action Run
7 native_pkgs_ubuntu 23898102833.7 02 Apr 2026 11:32AM UTC 91
72.29
GitHub Action Run
8 native_pkgs_macos 23898102833.8 02 Apr 2026 11:33AM UTC 91
72.97
GitHub Action Run
1 ffigen 23771440845.1 30 Mar 2026 10:58PM UTC 71
92.11
GitHub Action Run
8 objective_c 23893288004.8 02 Apr 2026 09:18AM UTC 92
80.02
GitHub Action Run
5 swift2objc 23786977555.5 31 Mar 2026 08:08AM UTC 56
92.95
GitHub Action Run
8 jni 23889071673.8 02 Apr 2026 07:28AM UTC 34
12.14
GitHub Action Run
7 jnigen 23889071673.7 02 Apr 2026 07:36AM UTC 20
91.1
GitHub Action Run
Source Files on build 23898102833
  • Tree
  • List 293
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #23898102833
  • 9e5d0d35 on github
  • Prev Build on main (#23897422937)
  • 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