Skip to content

Commit 01de08b

Browse files
committed
fix(docs): Document the only possible values for DEBUG
1 parent a6228ba commit 01de08b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/doc/src/reference/environment-variables.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -377,7 +377,8 @@ let out_dir = env::var("OUT_DIR").unwrap();
377377
not need to run `make -j`, and instead can set the `MAKEFLAGS` env var to the
378378
content of `CARGO_MAKEFLAGS` to activate the use of Cargo's GNU Make compatible
379379
[jobserver] for sub-make invocations.
380-
* `OPT_LEVEL`, `DEBUG` --- values of the corresponding variables for the profile currently being built.
380+
* `DEBUG` --- `true` or `false`. `false` corresponds to when the debug profile setting is `0`, `false`, or `"none"`.
381+
* `OPT_LEVEL` --- values of the corresponding variable for the profile currently being built.
381382
* `PROFILE` --- `release` for release builds, `debug` for other builds. This is
382383
determined based on if the [profile] inherits from the [`dev`] or
383384
[`release`] profile. Using this environment variable is not recommended.

0 commit comments

Comments
 (0)