Add codegen-units=1 to prevent miscompiles

This commit is contained in:
Gwilym Inzani 2023-05-02 21:06:04 +01:00
parent fe23bee18b
commit 78bad29f88
8 changed files with 8 additions and 0 deletions

View file

@ -29,6 +29,7 @@ targets = []
[profile.dev]
opt-level = 3
debug = true
codegen-units = 1
[profile.release]
opt-level = 3

View file

@ -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

View file

@ -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"

View file

@ -15,6 +15,7 @@ amplitude = { path = "../amplitude" }
[profile.dev]
opt-level = 3
debug = true
codegen-units = 1
[profile.release]
opt-level = 3

View file

@ -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

View file

@ -16,6 +16,7 @@ serde_json = "1.0"
[profile.dev]
opt-level = 3
debug = true
codegen-units = 1
[profile.release]
opt-level = 3

View file

@ -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

View file

@ -12,6 +12,7 @@ agb = "0.15.0"
[profile.dev]
opt-level = 3
debug = true
codegen-units = 1
[profile.release]
opt-level = 3