Amanieu / cstr_core

Implementation of CStr and CString for no_std environments
Apache License 2.0
41 stars 17 forks source link

Add a feature to use memchr's libc feature instead of its fallback #2

Closed coolreader18 closed 4 years ago

coolreader18 commented 5 years ago

I ran into an issue where memchr's fallback implementation of the memchr function didn't work with what I'm targeting. Using libc's version requires the libc feature to be turned on, which it is by default. However, this crate puts default-features = false, which makes sense because default-features includes use_std, but it excludes libc.

Amanieu commented 4 years ago

Sorry about the delayed response, I just noticed that Github had disabled all my notifications on this repository.