Turn LIBC_COPT_STRING_UNSAFE_WIDE_READ on by default (#144163)

Configure strlen to use unsafe implementation because it is faster.

Because this is undefined behavior it could cause sanitizers to fail.
This commit is contained in:
Amy Huang
2025-06-13 15:09:57 -07:00
committed by GitHub
parent 2c440232e2
commit a591bd222b

View File

@@ -59,7 +59,7 @@
},
"string": {
"LIBC_CONF_STRING_UNSAFE_WIDE_READ": {
"value": false,
"value": true,
"doc": "Read more than a byte at a time to perform byte-string operations like strlen."
},
"LIBC_CONF_MEMSET_X86_USE_SOFTWARE_PREFETCHING": {