Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Drop memchr dependency #23

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

TheBlueMatt
Copy link
Contributor

While memchr has served us well, it finally bumped its MSRV substantially such that its no longer really practical in a particularly MSRV-constrained environment (e.g. when building on machines with validated toolchains or Debian stable).

Luckily, its barely used, and not really worth retaining. A trivial scan should be something LLVM can optimize at least somewhat reasonably.

While `memchr` has served us well, it finally bumped its MSRV
substantially such that its no longer really practical in a
particularly MSRV-constrained environment (e.g. when building on
machines with validated toolchains or Debian stable).

Luckily, its barely used, and not really worth retaining. A trivial
scan should be something LLVM can optimize at least somewhat
reasonably.
@rmsyn
Copy link

rmsyn commented Aug 30, 2023

Many more things with this crate are broken.

The CI runs the following for no-std tests:

 /home/runner/.cargo/bin/cargo test --tests --no-default-features --features nightly

If you removes the extra --tests flag, a large number of other tests fail. This is independent of the changes in this PR.

A potential fix for the macos-latest, 1.47 build could be to change the CI to only build 1.47 with a fixed older version of macOS.

The fixes for the <platform>-latest, latest builds are discussed in #21.

@TheBlueMatt
Copy link
Contributor Author

Indeed. I'll clean it up if/when the maintainer shows up again :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants