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

JoakimSoderberg / cargo / 401 / 2
92%
master: 92%

Build:
DEFAULT BRANCH: master
Ran 22 Apr 2015 07:52PM UTC
Files 1
Run time 3s
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

22 Apr 2015 07:38PM UTC coverage: 92.404% (-0.1%) from 92.51%
CARGO_METHOD=coveralls CMAKE_ARGS="-DCARGO_WITH_MEMCHECK=OFF -DCARGO_COVERALLS=ON -DCARGO_TEST=ON -DCMAKE_BUILD_TYPE=Debug"

push

travis-ci

JoakimSoderberg
Add cargo_get_args_copy and cargo_get_unknown_copy

By default all functions returning allocated memory in cargo tries to return const types and keep track of the memory internally to not risk memory leaks in casual use.

For things like a single error message it is trivial to save a copy by doing strdup(cargo_get_error(cargo)) but with a list of strings it's more tedious.

And if you want to pass on the remaining arguments from cargo_get_args you cannot give another instance of cargo_parse a const version without getting compiler warnings.

1849 of 2001 relevant lines covered (92.4%)

1746.22 hits per line

Source Files on job 401.2 (CARGO_METHOD=coveralls CMAKE_ARGS="-DCARGO_WITH_MEMCHECK=OFF -DCARGO_COVERALLS=ON -DCARGO_TEST=ON -DCMAKE_BUILD_TYPE=Debug")
  • Tree
  • List 0
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 401
  • Travis Job 401.2
  • d945ce9c on github
  • Prev Job for CARGO_METHOD=coveralls CMAKE_ARGS="-DCARGO_WITH_MEMCHECK=OFF -DCARGO_COVERALLS=ON -DCARGO_TEST=ON -DCMAKE_BUILD_TYPE=Debug" on master (#400.2)
  • Next Job for CARGO_METHOD=coveralls CMAKE_ARGS="-DCARGO_WITH_MEMCHECK=OFF -DCARGO_COVERALLS=ON -DCARGO_TEST=ON -DCMAKE_BUILD_TYPE=Debug" on master (#402.2)
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