diff options
Diffstat (limited to '')
-rw-r--r-- | library/std/src/sys/windows/memchr.rs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/library/std/src/sys/windows/memchr.rs b/library/std/src/sys/windows/memchr.rs new file mode 100644 index 000000000..b9e5bcc1b --- /dev/null +++ b/library/std/src/sys/windows/memchr.rs @@ -0,0 +1,5 @@ +// Original implementation taken from rust-memchr. +// Copyright 2015 Andrew Gallant, bluss and Nicolas Koch + +// Fallback memchr is fastest on Windows. +pub use core::slice::memchr::{memchr, memrchr}; |