diff --git a/agb/Cargo.toml b/agb/Cargo.toml index b2670909..f400f760 100644 --- a/agb/Cargo.toml +++ b/agb/Cargo.toml @@ -29,6 +29,7 @@ targets = [] [profile.dev] opt-level = 3 debug = true +codegen-units = 1 [profile.release] opt-level = 3 diff --git a/book/games/pong/Cargo.toml b/book/games/pong/Cargo.toml index d111bf4f..7c0dd1d7 100644 --- a/book/games/pong/Cargo.toml +++ b/book/games/pong/Cargo.toml @@ -10,6 +10,7 @@ agb = { version = "0.15.0", path = "../../../agb" } [profile.dev] opt-level = 3 debug = true +codegen-units = 1 [profile.release] opt-level = 3 diff --git a/examples/amplitude/Cargo.toml b/examples/amplitude/Cargo.toml index bdd38f78..c82c8496 100644 --- a/examples/amplitude/Cargo.toml +++ b/examples/amplitude/Cargo.toml @@ -12,6 +12,7 @@ agb = { version = "0.15.0", path = "../../agb" } [profile.dev] opt-level = 2 debug = true +codegen-units = 1 [profile.release] panic = "abort" diff --git a/examples/combo/Cargo.toml b/examples/combo/Cargo.toml index 8c33ea67..2c31266e 100644 --- a/examples/combo/Cargo.toml +++ b/examples/combo/Cargo.toml @@ -15,6 +15,7 @@ amplitude = { path = "../amplitude" } [profile.dev] opt-level = 3 debug = true +codegen-units = 1 [profile.release] opt-level = 3 diff --git a/examples/hyperspace-roll/Cargo.toml b/examples/hyperspace-roll/Cargo.toml index 83a77568..5557b1a3 100644 --- a/examples/hyperspace-roll/Cargo.toml +++ b/examples/hyperspace-roll/Cargo.toml @@ -10,6 +10,7 @@ agb = { version = "0.15.0", path = "../../agb" } [profile.dev] opt-level = 3 debug = true +codegen-units = 1 [profile.release] opt-level = 3 diff --git a/examples/the-hat-chooses-the-wizard/Cargo.toml b/examples/the-hat-chooses-the-wizard/Cargo.toml index bc747668..18bc73b0 100644 --- a/examples/the-hat-chooses-the-wizard/Cargo.toml +++ b/examples/the-hat-chooses-the-wizard/Cargo.toml @@ -16,6 +16,7 @@ serde_json = "1.0" [profile.dev] opt-level = 3 debug = true +codegen-units = 1 [profile.release] opt-level = 3 diff --git a/examples/the-purple-night/Cargo.toml b/examples/the-purple-night/Cargo.toml index 62fcaec1..0b77cded 100644 --- a/examples/the-purple-night/Cargo.toml +++ b/examples/the-purple-night/Cargo.toml @@ -17,6 +17,7 @@ tiled = { version = "0.9.4", default-features = false } [profile.dev] opt-level = 3 debug = true +codegen-units = 1 [profile.release] opt-level = 3 diff --git a/template/Cargo.toml b/template/Cargo.toml index af719629..3cd11cb2 100644 --- a/template/Cargo.toml +++ b/template/Cargo.toml @@ -12,6 +12,7 @@ agb = "0.15.0" [profile.dev] opt-level = 3 debug = true +codegen-units = 1 [profile.release] opt-level = 3