# std.mem.indexOfScalarPos: valgrind integration · gitcafe/zig

[View on GitCafe](https://git.cafe/gitcafe/zig/commit/33428fc6aaf40ac19051df3a6669561c84e9faf6)

Repository: [gitcafe/zig](https://git.cafe/gitcafe/zig)

Visibility: public

Requested revision: 33428fc6aaf40ac19051df3a6669561c84e9faf6

Requested commit: 33428fc6aaf40ac19051df3a6669561c84e9faf6

Commit: 33428fc6aaf40ac19051df3a6669561c84e9faf6

Tree: 8f8240a6ee4bdbba28ec0243f6649fc30b611f30

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
std.mem.indexOfScalarPos: valgrind integration

this code returns false positives in Valgrind, so we fall back to the
other implementation when running in valgrind.

see #17717

```

## Parents

- [afa0834195c48418179d43430a052b2a23b50e00](https://git.cafe/gitcafe/zig/commit/afa0834195c48418179d43430a052b2a23b50e00?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zig/tree/33428fc6aaf40ac19051df3a6669561c84e9faf6?format=markdown)
