cargo-check

Build Status

This is a wrapper around cargo rustc -- -Zno-trans. It can be helpful for running a faster compile if you only need correctness checks.

Installation

Note that additonal cargo rustc options can still be passed through.

In other words, this:

cargo check -v -- -Zprint-link-args

Should do the same thing as this:

cargo rustc -v -- -Zprint-link-args -Zno-trans

And this:

cargo check --lib

Will do the same thing as this:

cargo rustc --lib -- -Zno-trans