mirror of
https://github.com/storytold/harfbuzz.git
synced 2026-11-22 15:31:05 +01:00
[rust] Change debugoptimized build to inherit dev instead of release
I was getting useless profiler stacks with the previous setup. This one makes the debugoptimized build 30% slower than release in one of my benchmarks, but at least we get useful stacktraces by default.
This commit is contained in:
1 parent
fc7617251a
commit
ba4f92f200
1 file changed
+1
-3
+1
-3
@@ -25,9 +25,7 @@ overflow-checks = false
|
||||
codegen-units = 1
|
||||
|
||||
[profile.debugoptimized]
|
||||
inherits = "release"
|
||||
debug = true
|
||||
strip = false
|
||||
inherits = "dev"
|
||||
|
||||
[profile.dev]
|
||||
lto = "fat"
|
||||
Reference in new issue
Block a user