Skip to content

Commit 14f353e

Browse files
committed
Update how-to-build-and-run.md
1 parent 5396105 commit 14f353e

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

src/how-to-build-and-run.md

+5-7
Original file line numberDiff line numberDiff line change
@@ -28,17 +28,15 @@ settings (and possibly others, such as `llvm.ccache`):
2828
assertions = true
2929

3030
[rust]
31-
# This enables some assertions, but more importantly it enables the `debug!`
32-
# logging macros that are essential for debugging `rustc`.
33-
debug-assertions = true
34-
3531
# This will make your build more parallel; it costs a bit of runtime
3632
# performance perhaps (less inlining) but it's worth it.
3733
codegen-units = 0
3834

39-
# This enables full debuginfo (`debuginfo-level = 2`). The line debuginfo (which is a
40-
# more important part and enables e.g. line numbers in backtraces) is also enabled by
41-
# `debuginfo-level = 1`.
35+
# This enables full debuginfo and debug assertions. The line debuginfo is also
36+
# enabled by `debuginfo-level = 1`. Full debuginfo is also enabled by
37+
# `debuginfo-level = 2`. Debug assertions can also be enabled with
38+
# `debug-assertions = true`. Note that `debug = true` will make your build
39+
# slower, so you may want to try individually enabling debuginfo and assertions.
4240
debug = true
4341
```
4442

0 commit comments

Comments
 (0)