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

extphprs / ext-php-rs / 26832618561
73%
master: 66%

Build:
Build:
LAST BUILD BRANCH: dependabot/github_actions/nhedger/setup-mago-2
DEFAULT BRANCH: master
Ran 02 Jun 2026 04:19PM UTC
Jobs 1
Files 100
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 Jun 2026 04:11PM UTC coverage: 72.397% (-0.08%) from 72.479%
26832618561

push

github

ptondereau
fix(tests): wrap PHP function handlers in zend_fastcall! for windows

FunctionHandler resolves to extern "C" on unix and to
extern "vectorcall" on windows. The new compound-type integration
handlers (class union, intersection, DNF, primitive union) and the
src/builders/function.rs noop_handler test helper were declared
as plain extern "C", which only matches the unix alias and so
failed to type-check on windows with E0308.

Wrap each handler in zend_fastcall! { ... }, the same macro
closure.rs and builders/class.rs already use. The macro rewrites
the ABI to vectorcall on windows and stays C on unix.

Also gates the noop_handler helper behind cfg(php83) since the
tests that consume it are all PHP 8.3+ (class union, intersection,
DNF return types).

Drops a redundant `#![cfg_attr(windows, feature(abi_vectorcall))]`
attribute inside src/describe/mod.rs's tests module: inner
`feature` attributes only take effect at the crate root, so it was
a no-op that produced "the `#![feature]` attribute can only be
used at the crate root" on every windows compile. The crate root
already enables the feature in src/lib.rs.

0 of 1 new or added line in 1 file covered. (0.0%)

257 existing lines in 10 files now uncovered.

11564 of 15973 relevant lines covered (72.4%)

33.46 hits per line

Uncovered Changes

Lines Coverage ∆ File
1
86.32
0.0% src/builders/function.rs

Coverage Regressions

Lines Coverage ∆ File
66
67.87
3.36% src/types/array/mod.rs
52
49.38
-2.9% src/types/string/mod.rs
43
0.0
0.0% src/types/class_object.rs
25
81.12
-4.25% src/types/array/array_key.rs
22
76.75
-0.02% src/types/array/entry.rs
14
35.25
-2.15% src/convert.rs
12
93.33
0.0% crates/macros/src/lib.rs
12
41.18
-0.82% src/enum_.rs
8
90.76
0.0% src/describe/mod.rs
3
0.0
-100.0% src/internal/mod.rs
Jobs
ID Job ID Ran Files Coverage
1 26832618561.1 02 Jun 2026 04:19PM UTC 100
72.4
GitHub Action Run
Source Files on build 26832618561
  • Tree
  • List 100
  • Changed 9
  • Source Changed 8
  • Coverage Changed 9
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #26832618561
  • 62aff33f on github
  • Prev Build on feat/issue-199-primitive-union-types (#25385695435)
  • Next Build on feat/issue-199-primitive-union-types (#26832969621)
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