build: Add new profiling target

This makes it much more convenient to build binaries for profiling
without having to modify the Cargo.toml file.

Signed-off-by: Rob Bradford <robert.bradford@intel.com>
This commit is contained in:
Rob Bradford 2023-01-17 12:52:20 +00:00
parent 4689abd9f4
commit c6d3f61a42

View File

@ -23,6 +23,11 @@ codegen-units = 1
opt-level = "s"
strip = true
[profile.profiling]
inherits = "release"
strip = false
debug = true
[dependencies]
anyhow = "1.0.68"
api_client = { path = "api_client" }