diff --git a/book/games/pong/.cargo/config.toml b/book/games/pong/.cargo/config.toml index 76de9890..b3276236 100644 --- a/book/games/pong/.cargo/config.toml +++ b/book/games/pong/.cargo/config.toml @@ -6,5 +6,9 @@ build-std-features = ["compiler-builtins-mem"] target = "thumbv4t-none-eabi" [target.thumbv4t-none-eabi] -rustflags = ["-Clink-arg=-Tgba.ld"] +rustflags = ["-Clink-arg=-Tgba.ld", "-Ctarget-cpu=arm7tdmi"] +runner = "mgba-qt" + +[target.armv4t-none-eabi] +rustflags = ["-Clink-arg=-Tgba.ld", "-Ctarget-cpu=arm7tdmi"] runner = "mgba-qt" diff --git a/examples/hyperspace-roll/.cargo/config.toml b/examples/hyperspace-roll/.cargo/config.toml index 27b7c08d..cb5acfc0 100644 --- a/examples/hyperspace-roll/.cargo/config.toml +++ b/examples/hyperspace-roll/.cargo/config.toml @@ -7,5 +7,9 @@ sparse-registry = true target = "thumbv4t-none-eabi" [target.thumbv4t-none-eabi] -rustflags = ["-Clink-arg=-Tgba.ld"] +rustflags = ["-Clink-arg=-Tgba.ld", "-Ctarget-cpu=arm7tdmi"] +runner = "mgba-qt" + +[target.armv4t-none-eabi] +rustflags = ["-Clink-arg=-Tgba.ld", "-Ctarget-cpu=arm7tdmi"] runner = "mgba-qt" diff --git a/examples/the-hat-chooses-the-wizard/.cargo/config.toml b/examples/the-hat-chooses-the-wizard/.cargo/config.toml index 76de9890..b3276236 100644 --- a/examples/the-hat-chooses-the-wizard/.cargo/config.toml +++ b/examples/the-hat-chooses-the-wizard/.cargo/config.toml @@ -6,5 +6,9 @@ build-std-features = ["compiler-builtins-mem"] target = "thumbv4t-none-eabi" [target.thumbv4t-none-eabi] -rustflags = ["-Clink-arg=-Tgba.ld"] +rustflags = ["-Clink-arg=-Tgba.ld", "-Ctarget-cpu=arm7tdmi"] +runner = "mgba-qt" + +[target.armv4t-none-eabi] +rustflags = ["-Clink-arg=-Tgba.ld", "-Ctarget-cpu=arm7tdmi"] runner = "mgba-qt" diff --git a/examples/the-purple-night/.cargo/config.toml b/examples/the-purple-night/.cargo/config.toml index 76de9890..b3276236 100644 --- a/examples/the-purple-night/.cargo/config.toml +++ b/examples/the-purple-night/.cargo/config.toml @@ -6,5 +6,9 @@ build-std-features = ["compiler-builtins-mem"] target = "thumbv4t-none-eabi" [target.thumbv4t-none-eabi] -rustflags = ["-Clink-arg=-Tgba.ld"] +rustflags = ["-Clink-arg=-Tgba.ld", "-Ctarget-cpu=arm7tdmi"] +runner = "mgba-qt" + +[target.armv4t-none-eabi] +rustflags = ["-Clink-arg=-Tgba.ld", "-Ctarget-cpu=arm7tdmi"] runner = "mgba-qt" diff --git a/template/.cargo/config.toml b/template/.cargo/config.toml index 76de9890..b3276236 100644 --- a/template/.cargo/config.toml +++ b/template/.cargo/config.toml @@ -6,5 +6,9 @@ build-std-features = ["compiler-builtins-mem"] target = "thumbv4t-none-eabi" [target.thumbv4t-none-eabi] -rustflags = ["-Clink-arg=-Tgba.ld"] +rustflags = ["-Clink-arg=-Tgba.ld", "-Ctarget-cpu=arm7tdmi"] +runner = "mgba-qt" + +[target.armv4t-none-eabi] +rustflags = ["-Clink-arg=-Tgba.ld", "-Ctarget-cpu=arm7tdmi"] runner = "mgba-qt"