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

starwing / lua-protobuf / 41325473982
99%

Build:
DEFAULT BRANCH: master
Ran 01 Nov 2026 04:16PM UTC
Jobs 6
Files 2
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

01 Nov 2026 04:15PM UTC coverage: 99.582%. Remained the same
41325473982

push

github

starwing
build: fix MSVC C4267 and add a Windows build script

pb_Buffer.size is unsigned, but oldlen in both encoders was size_t, so MSVC
warned C4267 at `pb_bufflen(...) = oldlen`.  Declare oldlen as unsigned; len
stays size_t because it receives pb_add* results.  The round trip through
oldlen is exact, so this changes no behavior.

Add build.bat for repeatable Windows DLL builds from a plain cmd/ssh
session: it selects Lua 5.4, 5.5 or LuaJIT (x86), loads MSVC through
vswhere/vcvarsall (or falls back to an existing cl), supports MinGW, links
the static CRT (/MT) and defines NDEBUG so the DLL has no VC runtime
dependency and no assert strings, always passes /DLUA_BUILD_AS_DLL (without
it luaopen_pb_io and friends are not exported), and can run both test suites
with `test`.  Document it in both READMEs as the MSVC release build path.

Verified with MSVC 2022: Lua 5.5 x64, Lua 5.4 x64 and LuaJIT 2.1 x86 build
with no warnings, depend only on the Lua DLL and KERNEL32, and pass
test.lua 22/22 plus protoc_test.lua -x known_issue 53/53; MinGW 13.2 x64
builds Lua 5.5 and passes the same suites.  C89 gate, 80 columns,
clang-format and the macOS Lua 5.5 / LuaJIT suites still pass.

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

1908 of 1916 relevant lines covered (99.58%)

5318.58 hits per line

Jobs
ID Job ID Ran Files Coverage
1 run-luajit-openresty - 41325473982.1 01 Nov 2026 04:16PM UTC 2
99.57
GitHub Action Run
2 run-5.3 - 41325473982.2 01 Nov 2026 04:16PM UTC 2
99.57
GitHub Action Run
3 run-5.2 - 41325473982.3 01 Nov 2026 04:16PM UTC 2
99.57
GitHub Action Run
4 run-5.4.8 - 41325473982.4 01 Nov 2026 04:16PM UTC 2
99.57
GitHub Action Run
5 run-5.5.0 - 41325473982.5 01 Nov 2026 04:16PM UTC 2
99.57
GitHub Action Run
6 run-5.1 - 41325473982.6 01 Nov 2026 04:16PM UTC 2
99.58
GitHub Action Run
Source Files on build 41325473982
  • Tree
  • List 2
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • ee58d1a1 on github
  • Prev Build on master (#41321898727)
  • Next Build on master (#43266354393)
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