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

dart-lang / native / 7030645287
74%

Build:
DEFAULT BRANCH: main
Ran 29 Nov 2023 09:56AM UTC
Jobs 12
Files 133
Run time 9s
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

29 Nov 2023 09:37AM UTC coverage: 92.629% (-0.01%) from 92.642%
7030645287

push

github

web-flow
[ffigen] Only use `objc_msgSend` variants on x64 (#836)

`objc_msgSend_stret` and `objc_msgSend_fpret` are only available on x64, so just use the normal `objc_msgSend` on arm64.

We can only check the ABI at runtime, so for the stret and fpret variants we need to emit both the variant and the normal `objc_msgSend` function. Then we can decide which to use when the method is invoked at runtime.

This runtime check is complicated by the fact that `objc_msgSend_stret` has a different signature than `objc_msgSend` has for the same method. This is because `objc_msgSend_stret` takes a pointer to the return type as its first arg. If it wasn't for this signature difference we could just change the function name string we pass to `DynamicLibrary.lookup`.

Fixes #829

62 of 62 new or added lines in 2 files covered. (100.0%)

6 existing lines in 2 files now uncovered.

8772 of 9470 relevant lines covered (92.63%)

17.1 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
1
90.0
1.43% pkgs/ffigen/lib/src/code_generator/library.dart
5
78.7
-4.63% pkgs/ffigen/lib/src/config_provider/config_types.dart
Subprojects
ID Flag name Job ID Ran Files Coverage
1 ffigen_macos 7030645287.1 29 Nov 2023 09:58AM UTC 47
91.75
GitHub Action Run
1 jni_tests 7003317974.1 27 Nov 2023 09:57AM UTC 26
88.18
GitHub Action Run
5 native_assets_cli_ubuntu 6933819341.5 20 Nov 2023 05:46PM UTC 15
100.0
GitHub Action Run
6 native_assets_builder_windows 6933819341.6 20 Nov 2023 05:49PM UTC 4
91.84
GitHub Action Run
2 jnigen_tests 7003317974.2 27 Nov 2023 10:04AM UTC 23
92.8
GitHub Action Run
2 native_toolchain_c_ubuntu 6933819341.2 20 Nov 2023 05:46PM UTC 18
73.41
GitHub Action Run
1 native_assets_builder_ubuntu 6933819341.1 20 Nov 2023 05:47PM UTC 4
91.84
GitHub Action Run
8 native_assets_cli_macos 6933819341.8 20 Nov 2023 05:49PM UTC 15
100.0
GitHub Action Run
3 native_assets_cli_windows 6933819341.3 20 Nov 2023 05:47PM UTC 15
99.53
GitHub Action Run
9 native_toolchain_c_macos 6933819341.9 20 Nov 2023 05:53PM UTC 18
77.9
GitHub Action Run
7 native_toolchain_c_windows 6933819341.7 20 Nov 2023 05:48PM UTC 18
88.51
GitHub Action Run
4 native_assets_builder_macos 6933819341.4 20 Nov 2023 05:48PM UTC 4
91.84
GitHub Action Run
Source Files on build 7030645287
  • Tree
  • List 133
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #7030645287
  • 17487159 on github
  • Prev Build on main (#7003317974)
  • Next Build on main (#7036219853)
  • 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

© 2025 Coveralls, Inc