strchr, strlen: use optimized memchr

5 jobs for master in 17 minutes and 15 seconds (queued for 2 seconds)
latest
Status Job ID Name Coverage
  Build
passed #21447
build:linux

00:09:49

passed #21448
build:redox

00:09:51

 
  Test
failed #21451
allowed to fail
fmt

00:01:04

failed #21449
test:linux

00:01:55

failed #21450
test:redox

00:07:22

 
Name Stage Failure
failed
test:redox Test
# constructor: stdout: generated #
main
# constructor: failed with status 0, stdout mismatch #
make[1]: *** [verify] Error 1
Makefile:162: recipe for target 'verify' failed
make[1]: Leaving directory '/builds/matijaskala/relibc/tests'
make: *** [test] Error 2
Makefile:88: recipe for target 'test' failed
ERROR: Job failed: exit code 1
failed
test:linux Test
-constructor (no priority)
main
# constructor: failed with status 0, stdout mismatch #
Makefile:162: recipe for target 'verify' failed
make[1]: Leaving directory '/builds/matijaskala/relibc/tests'
make[1]: *** [verify] Error 1
Makefile:88: recipe for target 'test' failed
make: *** [test] Error 2
ERROR: Job failed: exit code 1
failed
fmt Test
+            Some(DestBuffer {
+ ptr: buf as *mut u8,
+ len: size,
+ }),
+ ),
out,
result,
)
ERROR: Job failed: exit code 1