> cargo build
to just compile, or
> cargo run
to compile & run
Otherwise you'd be compiling it in debug mode (which is really slow for most projects).
Otherwise you'd be compiling it in debug mode (which is really slow for most projects).