kcov:v33 + rust:latest + cargo-kcov
263
This repository contains a Dockerfile meant for measuring Rust code coverage
using kcov and cargo-kcov.
To run the code coverage:
docker run -it --rm --security-opt seccomp=unconfined --volume "$(PWD):/volume" abbychau/docker-rust-kcov
NOTE: cargo-kcov does not support cargo workspaces. Visit each crate
of a workspace individually to run. You can use the --workdir argument to
change the working directory inside the container. For example, if a crate from
a workspace is located in the $(PWD)/lib directory:
docker run -it --rm --security-opt seccomp=unconfined --volume "$(PWD):/volume" --workdir /volume/lib abbychau/docker-rust-kcov
This work is distributed under the terms of the Apache License (Version 2.0).
See LICENSE for details.
Content type
Image
Digest
Size
532.6 MB
Last updated
over 7 years ago
docker pull abbychau/docker-rust-kcov