Skip to content

Commit 30b5f8c

Browse files
Cargo.toml: add a profiling profile
This is the suggested config from samply. Signed-off-by: Allison Karlitskaya <allison.karlitskaya@redhat.com>
1 parent 403c131 commit 30b5f8c

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Cargo.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,3 +22,7 @@ composefs-boot = { version = "0.2.0", path = "crates/composefs-boot", default-fe
2222
[profile.dev.package.sha2]
2323
# this is *really* slow otherwise
2424
opt-level = 3
25+
26+
[profile.profiling]
27+
inherits = "release"
28+
debug = true

0 commit comments

Comments
 (0)