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

Qiskit / qiskit / 36478721064
88%

Build:
DEFAULT BRANCH: main
Ran 28 Sep 2026 08:58PM UTC
Jobs 1
Files 980
Run time 2min
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

28 Sep 2026 07:56PM UTC coverage: 88.116% (+0.004%) from 88.112%
36478721064

push

github

web-flow
Add `VtableEntry` to C API (#17055)

* Add `VTableEntry` to C API

This is intended to be re-used by various C-API function that need to
define vtables, so doesn't belong to any one group.

The `slots` and `flags` fields are deliberately bare `uint32_t` fields
and not particular enums; even within a _single_ vtable definition, this
means that downstream code can provide definitions for optional
methods/slots added in later versions of Qiskit, and still work when
an older Qiskit is loaded at runtime; older Qiskits simply know to
ignore as-yet-unknown values.

(We can also consider adding an environment variable or the like that
enables debug logging for those loads, so developers can see why certain
methods aren't loading.)

The additional include in `bindgen` is because the type isn't used by
functions in this PR, so `cbindgen` wouldn't emit it.  We need it
reachable from `qiskit.h` for Doxygen, though.  The two Doxygen-related
option changes are to suppress a spurious `#include <types.h>` in the
generated HTML.  Actually it's the `breathe_show_include` one that's the
driver (the Doxygen `SHOW_HEADERFILE = NO` doesn't affect the XML), but
I left both in to make the intent clear.

* Correct lint suppressions for visibility

* Rename to `VtableEntry`

While this feels a bit wrong to me, it is actually the Rust style
convention, especially as we use "vtable" as a single word throughout
the docs.

2 of 2 new or added lines in 1 file covered. (100.0%)

7 existing lines in 2 files now uncovered.

122381 of 138886 relevant lines covered (88.12%)

943420.5 hits per line

Coverage Regressions

Lines Coverage ∆ File
6
97.66
0.0% crates/qasm2/src/parse.rs
1
92.8
1.29% crates/qasm2/src/lex.rs
Jobs
ID Job ID Ran Files Coverage
1 36478721064.1 28 Sep 2026 08:57PM UTC 980
88.12
GitHub Action Run
Source Files on build 36478721064
  • Tree
  • List 980
  • Changed 5
  • Source Changed 3
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #36478721064
  • 1298f960 on github
  • Prev Build on gh-readonly-queue/main/pr-17072-85ad58a82fd3631da333835d1f56b05d44973bd2 (#36463475822)
  • Next Build on main (#36592897297)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc