mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2025-02-02 01:45:21 +00:00
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:
parent
4689abd9f4
commit
c6d3f61a42
@ -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" }
|
||||
|
Loading…
x
Reference in New Issue
Block a user