Skip to content

Commit bd0f849

Browse files
authored
Merge pull request #1862 from Gelbpunkt/release-debug
feat: Add profiling profile
2 parents a9e3987 + f7998d9 commit bd0f849

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

Cargo.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -217,3 +217,7 @@ x86_64 = { git = "https://github.com/rust-osdev/x86_64.git" }
217217
# FIXME: remove once merged: https://github.com/rcore-os/trapframe-rs/pull/16
218218
trapframe = { git = "https://github.com/hermit-os/trapframe-rs", branch = "global_asm" }
219219
safe-mmio = { git = "https://github.com/hermit-os/safe-mmio", branch = "be" }
220+
221+
[profile.profiling]
222+
inherits = "release"
223+
debug = "line-tables-only"

0 commit comments

Comments
 (0)