Sign inSign up

ajdz/rust

By ajdz

•Updated over 6 years ago

See http://github.com/aldrin/docker

Image
0

1.4K

ajdz/rust repository overview

⁠Rust Developer Image

This image extends the standard rust image to simplify some common usage scenarios.

⁠cover

Runs all the tests in the project and produces a coverage report in target/kcov/index.html.

» docker run --privileged -v `pwd`:/src ajdz/rust cover

This invokes the cover recipe in the Justfile⁠ which in turn runs the following pipeline:

» cargo test --target=x86_64-unknown-linux-gnu --no-run --message-format=json 
  | jq -r 'select(.profile.test == true) | .filenames[]' 
  | xargs -n 1 kcov --exclude-pattern=/usr/local/cargo,/usr/lib --verify target/kcov
⁠sanitize SAN

Runs sanitizers (see this PR⁠) for details.

» docker run --privileged -v `pwd`:/src ajdz/rust sanitize address

This invokes the sanitize recipe in the Justfile⁠ which in turn runs the following:

» RUSTFLAGS="-Z sanitizer=address" rustup run nightly cargo test --target x86_64-unknown-linux-gnu

Tag summary

Content type

Image

Digest

Size

1.1 GB

Last updated

about 8 years ago

docker pull ajdz/rust