build: use lot optimizations and strip symbols in release

This commit is contained in:
Fabrizio Iannetti 2024-05-15 05:28:50 +02:00
parent 227c1ebaac
commit 4116dec2a0
1 changed files with 5 additions and 0 deletions

View File

@ -22,3 +22,8 @@ simplelog = { version = "^0.12.0", default-features = false }
[build-dependencies]
#lttng-ust-generate = "0.1.0"
lttng-ust-generate = { path = "../lttng-ust-rs/lttng-ust-generate" }
[profile.release]
opt-level = 3
lto = true
strip = "symbols"