Skip to content

Commit

Permalink
Recommend CARGO_PROFILE_RELEASE_DEBUG
Browse files Browse the repository at this point in the history
RUSTFLAGS does not always work rust-lang/rust#71848 (comment)
  • Loading branch information
chinedufn authored Jan 14, 2021
1 parent 60e687c commit 0830c85
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -104,9 +104,7 @@ To counter this to some extent, you may either set the following in your
debug = true
```

Or use the [RUSTFLAGS](https://doc.rust-lang.org/cargo/reference/config.html#buildrustflags) environment variable.

i.e. `RUSTFLAGS='-g'`
Or set the environment variable [CARGO_PROFILE_RELEASE_DEBUG=true](https://doc.rust-lang.org/cargo/reference/config.html#profilenamedebug).

## Use custom paths for perf and dtrace

Expand Down

0 comments on commit 0830c85

Please sign in to comment.