Skip to content

Commit

Permalink
Tweak sanitizer section
Browse files Browse the repository at this point in the history
  • Loading branch information
newpavlov authored Oct 21, 2024
1 parent 3a5db3a commit 796c6bd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,8 @@ configuration flag for `fill_uninit` to unpoison destination buffer.

For example, it can be done like this (requires Nightly compiler):
```sh
RUSTFLAGS="-Zsanitizer=memory --cfg getrandom_sanitize" cargo test -Zbuild-std --target=x86_64-unknown-linux-gnu
RUSTFLAGS="-Zsanitizer=memory --cfg getrandom_sanitize" \
cargo test -Zbuild-std --target=x86_64-unknown-linux-gnu
```

## Minimum Supported Rust Version
Expand Down

0 comments on commit 796c6bd

Please sign in to comment.