During CI, use the cargo check command over cargo build. See cargo check docs for details.
During CI, cargo check will fail if any compiler warnings are present in the code. This is accomplished by setting the environment variable RUSTFLAGS="-D warnings"
Related issues:
This PR accomplishes the following:
cargo check
command overcargo build
. See cargo check docs for details.cargo check
will fail if any compiler warnings are present in the code. This is accomplished by setting the environment variableRUSTFLAGS="-D warnings"