Skip to content

Commit

Permalink
Remove CC & CFLAGS from MemorySanitizer example
Browse files Browse the repository at this point in the history
They are now unnecessary for projects written in Rust, since
backtrace-rs used by the standard library has only Rust dependencies.
  • Loading branch information
tmiasko committed Jul 19, 2020
1 parent 4803680 commit 251878e
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/doc/unstable-book/src/compiler-flags/sanitizer.md
Expand Up @@ -196,10 +196,6 @@ fn main() {
```shell
$ export \
CC=clang \
CXX=clang++ \
CFLAGS='-fsanitize=memory -fsanitize-memory-track-origins' \
CXXFLAGS='-fsanitize=memory -fsanitize-memory-track-origins' \
RUSTFLAGS='-Zsanitizer=memory -Zsanitizer-memory-track-origins' \
RUSTDOCFLAGS='-Zsanitizer=memory -Zsanitizer-memory-track-origins'
$ cargo clean
Expand Down

0 comments on commit 251878e

Please sign in to comment.