From 727845645d4b6032e6b16dcfa997e14da9806084 Mon Sep 17 00:00:00 2001 From: Vincent Ambo Date: Tue, 30 Aug 2022 19:53:50 +0300 Subject: chore(tvix/eval): add release-with-debug cargo profile This lets us create a release build with debug info, for use with e.g. perf + hotspot Change-Id: I03897de36c872d318abf1332ca0c1aeabe344ec6 Reviewed-on: https://cl.tvl.fyi/c/depot/+/6362 Tested-by: BuildkiteCI Reviewed-by: sterni --- tvix/eval/Cargo.toml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tvix/eval/Cargo.toml b/tvix/eval/Cargo.toml index 32fa9e25737d..dc5d10c8e883 100644 --- a/tvix/eval/Cargo.toml +++ b/tvix/eval/Cargo.toml @@ -36,3 +36,7 @@ disassembler = ["dep:tabwriter"] [[bench]] name = "eval" harness = false + +[profile.release-with-debug] +inherits = "release" +debug = true -- cgit 1.4.1