From 1535062e6c7a6b3e7fed3722e60777c9b19cf839 Mon Sep 17 00:00:00 2001 From: Michel Heily Date: Sun, 4 Sep 2022 22:09:13 +0300 Subject: [PATCH] Make the rustboyadvance-sdl2 as the default target for cargo Former-commit-id: 30a23b71305ba7dc7e18f843f08b8e544dae825e Former-commit-id: 8d23da59ad40a8f716cdbc06f56a9c4d7bd471e1 --- Cargo.toml | 3 +++ README.md | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 96c9c18..a9fe5ef 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -9,6 +9,9 @@ members = [ "fps_bench" ] +default-members = ["platform/rustboyadvance-sdl2"] + + [profile.dev] opt-level = 2 debug = true diff --git a/README.md b/README.md index 96bff37..7e71eb5 100644 --- a/README.md +++ b/README.md @@ -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) ```bash -$ cargo run --release -p rustboyadvance-sdl2 -- path/to/rom +$ cargo run --release -- path/to/rom ```