Skip to content

Commit 2c904d1

Browse files
bors[bot]chinedufn
andauthored
Merge #116
116: Recommend CARGO_PROFILE_RELEASE_DEBUG r=djc a=chinedufn RUSTFLAGS does not always work rust-lang/rust#71848 (comment) Co-authored-by: Chinedu Francis Nwafili <[email protected]>
2 parents 60e687c + 0830c85 commit 2c904d1

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

README.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -104,9 +104,7 @@ To counter this to some extent, you may either set the following in your
104104
debug = true
105105
```
106106

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

111109
## Use custom paths for perf and dtrace
112110

0 commit comments

Comments
 (0)