Why does cargo run rebuilds the binary everytime I run it?

Viewed 785

cargo run seems to build my app every time I run it. When there are no code changes it still tried to build it which takes 5 or 8 seconds. This says "building..." and lists all warnings.

Is there a way to simply run my binary with cargo run that will not try to build it?

I'd like it for be built only when something changed.

0 Answers
Related