mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2025-03-07 17:26:14 +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"
|
opt-level = "s"
|
||||||
strip = true
|
strip = true
|
||||||
|
|
||||||
|
[profile.profiling]
|
||||||
|
inherits = "release"
|
||||||
|
strip = false
|
||||||
|
debug = true
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
anyhow = "1.0.68"
|
anyhow = "1.0.68"
|
||||||
api_client = { path = "api_client" }
|
api_client = { path = "api_client" }
|
||||||
|
Loading…
x
Reference in New Issue
Block a user