Gitlab ci/cd config for rustc

Cargo book contains ci/cd for cargo but not for rustc. I wish to setup ci/cd for this repo: Link

That's because most projects won't be using rustc directly to build. The compiler compiles your code, but you will also need something which can manage your dependencies, figure out how to build each dependency in the right order, and run your test suite.

In Rust we use cargo for managing our projects, hence why there are CI/CD instructions for building with cargo and not rustc.