-
Notifications
You must be signed in to change notification settings - Fork 902
Building without onig
feature fails
#1729
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
Comments
According to #1202
However
Also fails |
I was able to build it by enabling |
This is especially important now that |
Agreed. I'm on fedora, the workaround I've been using is to use |
Now, you can build with: ``` --no-default-features --features=fancy-regex ``` Which previously didn't work. You had to enable the `unstable_wasm` flag. I think using `fancy_regex` without wasm is a valid use-case, as I've seen extremely slow build times using `onig`. See: huggingface#1730 Onig also breaks, sometimes, with compiler updates. See: huggingface#1771 Closes huggingface#1729
This might fix the build on fedora systems: huggingface/tokenizers#1729 (comment)
cargo build --no-default-features
fails withunresolved import onig
.If this isn't an optional feature, let's not mark it as such.
The text was updated successfully, but these errors were encountered: