gobanos / cargo-aoc

437 stars 47 forks source link

Add a way to run in release mode with `cargo aoc --release` #91

Closed St0wy closed 1 year ago

St0wy commented 1 year ago

By default cargo aoc will run in dev mode, which I don't know how to change. To me it seems like the only way to run with optimisations is to change the optimisation in for the dev profile in Cargo.toml.

It would be nice to be able to do it like with cargo run by adding --release to the command.

mwcz commented 1 year ago

It seems to run in release mode for me.

image

It seems to build in dev mode first, then build & run in release mode.

St0wy commented 1 year ago

Ah yes didn't notice the second part, my bad