Skip to content

Commit a8975c5

Browse files
Cargo.toml: add a profiling profile
This is the suggested config from samply. Signed-off-by: Allison Karlitskaya <[email protected]>
1 parent b6be814 commit a8975c5

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)