about summary refs log tree commit diff
path: root/config.example.toml
diff options
context:
space:
mode:
authorNilstrieb <48135649+Nilstrieb@users.noreply.github.com>2024-02-16 22:11:19 +0100
committerNilstrieb <48135649+Nilstrieb@users.noreply.github.com>2024-02-18 22:23:09 +0100
commit09e60434830d4b6387df03ee54cfb5207a06a1ff (patch)
tree37233abd73fb29fa8b988677d448c4b4f744cb5a /config.example.toml
parent8a497723e311a62fccb1f0bf40e79c6519744a12 (diff)
downloadrust-09e60434830d4b6387df03ee54cfb5207a06a1ff.tar.gz
rust-09e60434830d4b6387df03ee54cfb5207a06a1ff.zip
Add `rust.frame-pointers` config option
This is very helpful for profiling. I've hacked this in many times, so
let's add it properly.
Diffstat (limited to 'config.example.toml')
-rw-r--r--config.example.toml4
1 files changed, 4 insertions, 0 deletions
diff --git a/config.example.toml b/config.example.toml
index 975fcd71fc9..cef33a7905a 100644
--- a/config.example.toml
+++ b/config.example.toml
@@ -612,6 +612,10 @@
 # Indicates whether symbols should be stripped using `-Cstrip=symbols`.
 #strip = false
 
+# Forces frame pointers to be used with `-Cforce-frame-pointers`.
+# This can be helpful for profiling at a small performance cost.
+# frame-pointers = false
+
 # Indicates whether stack protectors should be used
 # via the unstable option `-Zstack-protector`.
 #