Skip to content

Commit 2a2372a

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 4e87524 commit 2a2372a

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" }
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)