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

JoakimSoderberg / cargo / 401
92%

Build:
DEFAULT BRANCH: master
Ran 22 Apr 2015 07:52PM UTC
Jobs 1
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

pending completion
401

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

Jobs
ID Job ID Ran Files Coverage
2 401.2 (CARGO_METHOD=coveralls CMAKE_ARGS="-DCARGO_WITH_MEMCHECK=OFF -DCARGO_COVERALLS=ON -DCARGO_TEST=ON -DCMAKE_BUILD_TYPE=Debug") 22 Apr 2015 07:52PM UTC 0
92.4
Travis Job 401.2
Source Files on build 401
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #401
  • d945ce9c on github
  • Prev Build on master (#400)
  • Next Build on master (#402)
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