[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:
Behdad Esfahbod committed 2025-09-24 13:12:50 -06:00
1 parent fc7617251a
commit ba4f92f200
1 file changed
+1 -3
+1 -3
View File
@@ -25,9 +25,7 @@ overflow-checks = false
codegen-units = 1
[profile.debugoptimized]
inherits = "release"
debug = true
strip = false
inherits = "dev"
[profile.dev]
lto = "fat"