fix(cargo): force dev profiles to use opt-level = 2 to workaround hardware acceleration

This commit is contained in:
2025-10-27 18:35:18 -04:00
parent 7a3db08e1d
commit 2200ba74f6

View File

@@ -37,6 +37,11 @@ version = "0.12.0"
default = ["splash"]
splash = ["dep:image"]
[profile.dev]
# We have to compile for opt-level = 2 due to optimization passes
# which don't handle the UEFI target properly.
opt-level = 2
[profile.release]
lto = "thin"
strip = "symbols"
@@ -50,6 +55,7 @@ debug = 1
inherits = "dev"
strip = "debuginfo"
debug = 0
opt-level = 2
[patch.crates-io.simd-adler32]
git = "https://github.com/edera-dev/sprout-patched-deps.git"