Make the rustboyadvance-sdl2 as the default target for cargo

Former-commit-id: 30a23b71305ba7dc7e18f843f08b8e544dae825e
Former-commit-id: 8d23da59ad40a8f716cdbc06f56a9c4d7bd471e1
This commit is contained in:
Michel Heily 2022-09-04 22:09:13 +03:00
parent 8ea942e973
commit 1535062e6c
2 changed files with 4 additions and 1 deletions

View file

@ -9,6 +9,9 @@ members = [
"fps_bench" "fps_bench"
] ]
default-members = ["platform/rustboyadvance-sdl2"]
[profile.dev] [profile.dev]
opt-level = 2 opt-level = 2
debug = true debug = true

View file

@ -51,7 +51,7 @@ Place the bios file in the repository root and name it `gba_bios.bin` (or altern
Build and run in release mode (performance is terrible in the `dev` profile) Build and run in release mode (performance is terrible in the `dev` profile)
```bash ```bash
$ cargo run --release -p rustboyadvance-sdl2 -- path/to/rom $ cargo run --release -- path/to/rom
``` ```