Cargo run --release recompiles?

My build command contains cargo build --release which compiles everything. But my start command contains cargo run --release and compiles everything again. Is this expected? How can I avoid a recompile on start?

Possibly related but my package is not at the root of my project, it’s in a subdirectory so my start command actually looks like cd server && cargo run --release

Hi @blaix, welcome to the Render community! That is somewhat strange behavior, from my limited knowledge of rust cargo run --release will only recompile if there are any changes between build and run. Can you tell me the name of the service so I can take a look?