mirror of
https://github.com/italicsjenga/agb.git
synced 2024-12-23 00:01:34 +11:00
Add codegen-units=1 to prevent miscompiles
This commit is contained in:
parent
fe23bee18b
commit
78bad29f88
|
@ -29,6 +29,7 @@ targets = []
|
|||
[profile.dev]
|
||||
opt-level = 3
|
||||
debug = true
|
||||
codegen-units = 1
|
||||
|
||||
[profile.release]
|
||||
opt-level = 3
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -15,6 +15,7 @@ amplitude = { path = "../amplitude" }
|
|||
[profile.dev]
|
||||
opt-level = 3
|
||||
debug = true
|
||||
codegen-units = 1
|
||||
|
||||
[profile.release]
|
||||
opt-level = 3
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -16,6 +16,7 @@ serde_json = "1.0"
|
|||
[profile.dev]
|
||||
opt-level = 3
|
||||
debug = true
|
||||
codegen-units = 1
|
||||
|
||||
[profile.release]
|
||||
opt-level = 3
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -12,6 +12,7 @@ agb = "0.15.0"
|
|||
[profile.dev]
|
||||
opt-level = 3
|
||||
debug = true
|
||||
codegen-units = 1
|
||||
|
||||
[profile.release]
|
||||
opt-level = 3
|
||||
|
|
Loading…
Reference in a new issue