Release profile: keep symbols and line tables of the server for diagnosing the CPU load
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
5ccb524366
commit
cee45bb962
3 files changed
+14
No files matched your search
@@ -4,6 +4,10 @@ members = ["core", "server", "cli"]
|
||||
|
||||
[profile.release]
|
||||
opt-level = 3
|
||||
# Symbols and line tables stay in the binary, so a hot thread can be resolved with eu-stack / addr2line
|
||||
# on the running server (the file grows by a few tens of MB).
|
||||
strip = "none"
|
||||
debug = "line-tables-only"
|
||||
|
||||
# The command line client is small and self-contained.
|
||||
[profile.release.package.codecraft-cli]
|
||||
|
||||
Reference in new issue
Block a user