mirror of
https://github.com/edera-dev/sprout.git
synced 2025-12-19 15:40:16 +00:00
fix(cargo): force dev profiles to use opt-level = 2 to workaround hardware acceleration
This commit is contained in:
@@ -37,6 +37,11 @@ version = "0.12.0"
|
|||||||
default = ["splash"]
|
default = ["splash"]
|
||||||
splash = ["dep:image"]
|
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]
|
[profile.release]
|
||||||
lto = "thin"
|
lto = "thin"
|
||||||
strip = "symbols"
|
strip = "symbols"
|
||||||
@@ -50,6 +55,7 @@ debug = 1
|
|||||||
inherits = "dev"
|
inherits = "dev"
|
||||||
strip = "debuginfo"
|
strip = "debuginfo"
|
||||||
debug = 0
|
debug = 0
|
||||||
|
opt-level = 2
|
||||||
|
|
||||||
[patch.crates-io.simd-adler32]
|
[patch.crates-io.simd-adler32]
|
||||||
git = "https://github.com/edera-dev/sprout-patched-deps.git"
|
git = "https://github.com/edera-dev/sprout-patched-deps.git"
|
||||||
|
|||||||
Reference in New Issue
Block a user