mirror of
https://github.com/loot/libloot.git
synced 2026-07-27 14:16:01 -07:00
Tweak Cargo profiles
Include limited debug info in release builds to help with profiling. Also add another profile that's equivalent to CMake's RelWithDebInfo. Testing suggests that although it uses a lower opt-level, it might actually perform better (at least on Windows), though the differences are only ~ 100 ms in startup and sorting times.
This commit is contained in:
@@ -33,3 +33,11 @@ members = ["cxx", "ffi-errors", "pyo3"]
|
||||
esplugin = "6.1.1"
|
||||
libloadorder = { git = "https://github.com/Ortham/libloadorder.git", rev = "6245dbc6824c4751daef5ab01dfe7b9497f5446f" }
|
||||
loot-condition-interpreter = { git = "https://github.com/loot/loot-condition-interpreter.git", rev = "f7d9947fa434037743ce81e2d409184ec0bfb693" }
|
||||
|
||||
[profile.release]
|
||||
debug = "limited"
|
||||
|
||||
[profile.rel-with-deb-info]
|
||||
inherits = "release"
|
||||
opt-level = 2
|
||||
debug = "limited"
|
||||
|
||||
Reference in New Issue
Block a user