build: set tikv-jemalloc-sys opt-level to 1

`gcc` uses fortify to do bounds checking or some other important thing and in CI it's failing because it's defaulting to -o0
This commit is contained in:
Johanna Larsson
2026-09-25 13:16:17 +00:00
committed by Tangled
parent e86d117418
commit b5ad3a92cc
+4
View File
@@ -177,3 +177,7 @@ opt-level = 3
[profile.dev.package.blowfish]
opt-level = 3
# Set the default to optimized so fortify works in CI.
[profile.dev.package.tikv-jemalloc-sys]
opt-level = 1