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.

3 Likes

This topic was automatically closed 90 days after the last reply. We invite you to open a new topic if you have further questions or comments.