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

Qiskit / qiskit / 30016545767
88%
main: 88%

Build:
Build:
LAST BUILD BRANCH: patch-lcov-errors
DEFAULT BRANCH: main
Ran 23 Jul 2026 03:06PM UTC
Jobs 1
Files 950
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

23 Jul 2026 02:35PM UTC coverage: 87.628% (+0.02%) from 87.613%
30016545767

push

github

web-flow
Set the C language spec used during C tests (#16562) (#16643)

Our `CMakeLists.txt` file was previously leaving this undefined, and so
using the defaults of whatever build tool came along.  This could mean
that newer toolchains would build in different modes, and thus see
different behaviours.  Here, we set the test defaults to match exactly
Qiskit's minimum C compiler requirements without extensions.

This recently occurred for Qiskit v2.5, where the bump to
`cbindgen==0.29.3`[^1] changed the behaviour of fixed-width `enum`
exports to use the new C23 / C++-like `enum X : <ty>` syntax, gated on
the reported language-spec[^2].  Recent `gcc` (15+) default to
`-std=gnu23`, so packagers for recent Linux distros saw new build
failures in the C test suite that were uncaught by CI[^3].

A follow-up commit can modify our CI to explicitly test a range of C
language versions.

[^1]: 3e8d124e0b: Bump cbindgen from 0.29.2 to 0.29.3 (#16300)
[^2]: mozilla/cbindgen@b16c1d2025: Use C++ fixed-type enumeration syntax under C23 (or higher) as well
[^3]: https://github.com/Qiskit/qiskit/issues/16555

(cherry picked from commit 9eacb5427)

Co-authored-by: Jake Lishman <jake.lishman@ibm.com>

112833 of 128764 relevant lines covered (87.63%)

997254.18 hits per line

Coverage Regressions

Lines Coverage ∆ File
3
92.8
1.03% crates/qasm2/src/lex.rs
Jobs
ID Job ID Ran Files Coverage
1 30016545767.1 23 Jul 2026 03:06PM UTC 950
87.63
GitHub Action Run
Source Files on build 30016545767
  • Tree
  • List 950
  • Changed 4
  • Source Changed 0
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #30016545767
  • 33cf5502 on github
  • Prev Build on gh-readonly-queue/stable/2.5/pr-16645-38145e551d5bf5fdd40c66520a1a32bd0d8c373e (#30014807329)
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