From 5725ea6613c8c6563a2044c48e2138a7333f061c Mon Sep 17 00:00:00 2001 From: Corwin Date: Sat, 30 Jul 2022 20:35:26 +0100 Subject: [PATCH] better defaults for dev mode and release mode --- template/Cargo.toml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/template/Cargo.toml b/template/Cargo.toml index fc99e68b..793d7b3b 100644 --- a/template/Cargo.toml +++ b/template/Cargo.toml @@ -12,6 +12,11 @@ agb = "0.9.2" [dev-dependencies] agb = { version = "0.9.2", features = ["testing"] } +[profile.dev] +opt-level = 2 +debug = true + [profile.release] panic = "abort" -lto = true \ No newline at end of file +lto = true +debug = true