You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/doc/src/reference/profiles.md
+7-3Lines changed: 7 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -67,16 +67,20 @@ amount of debug information included in the compiled binary.
67
67
68
68
The valid options are:
69
69
70
-
*`0`, `false`, or `"none"`: no debug info at all
71
-
*`"line-directives-only"`: line info directives only. For the nvptx* targets this enables [profiling](https://reviews.llvm.org/D46061). For other use cases, `line-tables-only` is the better, more compatible choice.
70
+
*`0`, `false`, or `"none"`: no debug info at all, default for [`release`](#release)
71
+
*`"line-directives-only"`: line info directives only. For the nvptx* targets this enables [profiling]. For other use cases, `line-tables-only` is the better, more compatible choice.
72
72
*`"line-tables-only"`: line tables only. Generates the minimal amount of debug info for backtraces with filename/line number info, but not anything else, i.e. no variable or function parameter info.
73
73
*`1` or `"limited"`: debug info without type or variable-level information. Generates more detailed module-level info than `line-tables-only`.
74
-
*`2`, `true`, or `"full"`: full debug info
74
+
*`2`, `true`, or `"full"`: full debug info, default for [`dev`](#dev)
75
+
76
+
For more information on what each option does see `rustc`'s docs on [debuginfo].
75
77
76
78
You may wish to also configure the [`split-debuginfo`](#split-debuginfo) option
0 commit comments