diff --git a/book/games/pong/.cargo/config.toml b/book/games/pong/.cargo/config.toml index b3276236..45ce46eb 100644 --- a/book/games/pong/.cargo/config.toml +++ b/book/games/pong/.cargo/config.toml @@ -6,9 +6,17 @@ build-std-features = ["compiler-builtins-mem"] target = "thumbv4t-none-eabi" [target.thumbv4t-none-eabi] -rustflags = ["-Clink-arg=-Tgba.ld", "-Ctarget-cpu=arm7tdmi"] +rustflags = [ + "-Clink-arg=-Tgba.ld", + "-Ctarget-cpu=arm7tdmi", + "-Cforce-frame-pointers=yes", +] runner = "mgba-qt" [target.armv4t-none-eabi] -rustflags = ["-Clink-arg=-Tgba.ld", "-Ctarget-cpu=arm7tdmi"] +rustflags = [ + "-Clink-arg=-Tgba.ld", + "-Ctarget-cpu=arm7tdmi", + "-Cforce-frame-pointers=yes", +] runner = "mgba-qt" diff --git a/examples/amplitude/.cargo/config.toml b/examples/amplitude/.cargo/config.toml index b3276236..45ce46eb 100644 --- a/examples/amplitude/.cargo/config.toml +++ b/examples/amplitude/.cargo/config.toml @@ -6,9 +6,17 @@ build-std-features = ["compiler-builtins-mem"] target = "thumbv4t-none-eabi" [target.thumbv4t-none-eabi] -rustflags = ["-Clink-arg=-Tgba.ld", "-Ctarget-cpu=arm7tdmi"] +rustflags = [ + "-Clink-arg=-Tgba.ld", + "-Ctarget-cpu=arm7tdmi", + "-Cforce-frame-pointers=yes", +] runner = "mgba-qt" [target.armv4t-none-eabi] -rustflags = ["-Clink-arg=-Tgba.ld", "-Ctarget-cpu=arm7tdmi"] +rustflags = [ + "-Clink-arg=-Tgba.ld", + "-Ctarget-cpu=arm7tdmi", + "-Cforce-frame-pointers=yes", +] runner = "mgba-qt" diff --git a/examples/combo/.cargo/config.toml b/examples/combo/.cargo/config.toml index b3276236..45ce46eb 100644 --- a/examples/combo/.cargo/config.toml +++ b/examples/combo/.cargo/config.toml @@ -6,9 +6,17 @@ build-std-features = ["compiler-builtins-mem"] target = "thumbv4t-none-eabi" [target.thumbv4t-none-eabi] -rustflags = ["-Clink-arg=-Tgba.ld", "-Ctarget-cpu=arm7tdmi"] +rustflags = [ + "-Clink-arg=-Tgba.ld", + "-Ctarget-cpu=arm7tdmi", + "-Cforce-frame-pointers=yes", +] runner = "mgba-qt" [target.armv4t-none-eabi] -rustflags = ["-Clink-arg=-Tgba.ld", "-Ctarget-cpu=arm7tdmi"] +rustflags = [ + "-Clink-arg=-Tgba.ld", + "-Ctarget-cpu=arm7tdmi", + "-Cforce-frame-pointers=yes", +] runner = "mgba-qt" diff --git a/examples/hyperspace-roll/.cargo/config.toml b/examples/hyperspace-roll/.cargo/config.toml index b3276236..45ce46eb 100644 --- a/examples/hyperspace-roll/.cargo/config.toml +++ b/examples/hyperspace-roll/.cargo/config.toml @@ -6,9 +6,17 @@ build-std-features = ["compiler-builtins-mem"] target = "thumbv4t-none-eabi" [target.thumbv4t-none-eabi] -rustflags = ["-Clink-arg=-Tgba.ld", "-Ctarget-cpu=arm7tdmi"] +rustflags = [ + "-Clink-arg=-Tgba.ld", + "-Ctarget-cpu=arm7tdmi", + "-Cforce-frame-pointers=yes", +] runner = "mgba-qt" [target.armv4t-none-eabi] -rustflags = ["-Clink-arg=-Tgba.ld", "-Ctarget-cpu=arm7tdmi"] +rustflags = [ + "-Clink-arg=-Tgba.ld", + "-Ctarget-cpu=arm7tdmi", + "-Cforce-frame-pointers=yes", +] runner = "mgba-qt" diff --git a/examples/the-dungeon-puzzlers-lament/.cargo/config.toml b/examples/the-dungeon-puzzlers-lament/.cargo/config.toml index b3276236..45ce46eb 100644 --- a/examples/the-dungeon-puzzlers-lament/.cargo/config.toml +++ b/examples/the-dungeon-puzzlers-lament/.cargo/config.toml @@ -6,9 +6,17 @@ build-std-features = ["compiler-builtins-mem"] target = "thumbv4t-none-eabi" [target.thumbv4t-none-eabi] -rustflags = ["-Clink-arg=-Tgba.ld", "-Ctarget-cpu=arm7tdmi"] +rustflags = [ + "-Clink-arg=-Tgba.ld", + "-Ctarget-cpu=arm7tdmi", + "-Cforce-frame-pointers=yes", +] runner = "mgba-qt" [target.armv4t-none-eabi] -rustflags = ["-Clink-arg=-Tgba.ld", "-Ctarget-cpu=arm7tdmi"] +rustflags = [ + "-Clink-arg=-Tgba.ld", + "-Ctarget-cpu=arm7tdmi", + "-Cforce-frame-pointers=yes", +] 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 b3276236..45ce46eb 100644 --- a/examples/the-hat-chooses-the-wizard/.cargo/config.toml +++ b/examples/the-hat-chooses-the-wizard/.cargo/config.toml @@ -6,9 +6,17 @@ build-std-features = ["compiler-builtins-mem"] target = "thumbv4t-none-eabi" [target.thumbv4t-none-eabi] -rustflags = ["-Clink-arg=-Tgba.ld", "-Ctarget-cpu=arm7tdmi"] +rustflags = [ + "-Clink-arg=-Tgba.ld", + "-Ctarget-cpu=arm7tdmi", + "-Cforce-frame-pointers=yes", +] runner = "mgba-qt" [target.armv4t-none-eabi] -rustflags = ["-Clink-arg=-Tgba.ld", "-Ctarget-cpu=arm7tdmi"] +rustflags = [ + "-Clink-arg=-Tgba.ld", + "-Ctarget-cpu=arm7tdmi", + "-Cforce-frame-pointers=yes", +] runner = "mgba-qt" diff --git a/examples/the-purple-night/.cargo/config.toml b/examples/the-purple-night/.cargo/config.toml index b3276236..45ce46eb 100644 --- a/examples/the-purple-night/.cargo/config.toml +++ b/examples/the-purple-night/.cargo/config.toml @@ -6,9 +6,17 @@ build-std-features = ["compiler-builtins-mem"] target = "thumbv4t-none-eabi" [target.thumbv4t-none-eabi] -rustflags = ["-Clink-arg=-Tgba.ld", "-Ctarget-cpu=arm7tdmi"] +rustflags = [ + "-Clink-arg=-Tgba.ld", + "-Ctarget-cpu=arm7tdmi", + "-Cforce-frame-pointers=yes", +] runner = "mgba-qt" [target.armv4t-none-eabi] -rustflags = ["-Clink-arg=-Tgba.ld", "-Ctarget-cpu=arm7tdmi"] +rustflags = [ + "-Clink-arg=-Tgba.ld", + "-Ctarget-cpu=arm7tdmi", + "-Cforce-frame-pointers=yes", +] runner = "mgba-qt" diff --git a/template/.cargo/config.toml b/template/.cargo/config.toml index 655e5a26..67382136 100644 --- a/template/.cargo/config.toml +++ b/template/.cargo/config.toml @@ -6,9 +6,17 @@ build-std-features = ["compiler-builtins-mem"] target = "thumbv4t-none-eabi" [target.thumbv4t-none-eabi] -rustflags = ["-Clink-arg=-Tgba.ld", "-Ctarget-cpu=arm7tdmi"] +rustflags = [ + "-Clink-arg=-Tgba.ld", + "-Ctarget-cpu=arm7tdmi", + "-Cforce-frame-pointers=yes", +] runner = ["mgba-qt", "-C", "logToStdout=1", "-C", "logLevel.gba.debug=127"] [target.armv4t-none-eabi] -rustflags = ["-Clink-arg=-Tgba.ld", "-Ctarget-cpu=arm7tdmi"] +rustflags = [ + "-Clink-arg=-Tgba.ld", + "-Ctarget-cpu=arm7tdmi", + "-Cforce-frame-pointers=yes", +] runner = ["mgba-qt", "-C", "logToStdout=1", "-C", "logLevel.gba.debug=127"] diff --git a/tracker/agb-tracker/.cargo/config.toml b/tracker/agb-tracker/.cargo/config.toml index 62ebedb7..ce415d4a 100644 --- a/tracker/agb-tracker/.cargo/config.toml +++ b/tracker/agb-tracker/.cargo/config.toml @@ -6,9 +6,17 @@ build-std-features = ["compiler-builtins-mem"] target = "thumbv4t-none-eabi" [target.thumbv4t-none-eabi] -rustflags = ["-Clink-arg=-Tgba.ld", "-Ctarget-cpu=arm7tdmi"] +rustflags = [ + "-Clink-arg=-Tgba.ld", + "-Ctarget-cpu=arm7tdmi", + "-Cforce-frame-pointers=yes", +] runner = "mgba-test-runner" [target.armv4t-none-eabi] -rustflags = ["-Clink-arg=-Tgba.ld", "-Ctarget-cpu=arm7tdmi"] +rustflags = [ + "-Clink-arg=-Tgba.ld", + "-Ctarget-cpu=arm7tdmi", + "-Cforce-frame-pointers=yes", +] runner = "mgba-test-runner"