docs.rs failed to build grcov-0.2.3
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Visit the last successful build:
grcov-0.8.19
grcov
grcov collects and aggregates code coverage information for multiple source files.
Usage
- Download grcov from https://github.com/mozilla/grcov/releases.
- Run grcov:
Usage: grcov DIRECTORY[...] [-t OUTPUT_TYPE] [-s SOURCE_ROOT] [--token COVERALLS_REPO_TOKEN]
You can specify one or more directories, separated by a space.
OUTPUT_TYPE can be one of:
- (DEFAULT) ade for the ActiveData-ETL specific format;
- lcov for the lcov INFO format;
- coveralls for the Coveralls specific format.
SOURCE_ROOT is the root directory of the source files, required for the 'coveralls' format.
REPO_TOKEN is the repository token from Coveralls, required for the 'coveralls' format.
Let's see a few examples, assuming the source directory is ~/Documenti/mozilla-central
and the build directory is ~/Documenti/mozilla-central/build
.
LCOV output
As the LCOV output is compatible with lcov
, genhtml
can be used to generate a HTML summary of the code coverage:
Coveralls/Codecov output
Build & Test
cargo build
# By default, the binary is generated in ./target/debug/grcov
To test the binary:
cargo test
Minimum requirements
- GCC 4.9 or higher is required.