build: change dev opt-level

This commit is contained in:
dusk 2024-09-24 16:33:49 +03:00
parent b8c1f1fe83
commit 5560736be7
Signed by: dusk
SSH Key Fingerprint: SHA256:Abmvag+juovVufZTxyWY8KcVgrznxvBjQpJesv071Aw

View File

@ -19,9 +19,12 @@ indexmap = "2.4.0"
[target.wasm32-unknown-emscripten.dependencies]
godot = { git = "https://github.com/godot-rust/gdext", branch = "master", features = ["api-4-3", "register-docs", "experimental-wasm", "lazy-function-tables"] }
[profile.dev]
opt-level = 1
[profile.dev.package."*"]
opt-level = 3
[profile.release]
opt-level = 3
strip = "debuginfo"
lto = "thin"
incremental = true
codegen-units = 256