-
Notifications
You must be signed in to change notification settings - Fork 333
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
Compile error in Rust 1.36.0 #543
Comments
In the original C version, |
I cannot reproduce the error...
|
Uhh, could also be an interaction with some other library? Can you try and see if you get the error if you do |
I tried
And your Travis build seems ok.
|
to be honest, I don't know enough about rust to really understand what is happening..
|
Oh yeah I should also mention I have vtab and bundled active |
Getting the same when running |
Yeah, I can also repro, but building from the ripgrep-all repo works fine. Wonder if it's a rustc bug or something. |
When we say:
Rust wants that |
Workaround: Ideally, we would like to use sqlite3_mprintf and "%w" but variadic args are not supported. I am going to introduce a dedicated |
oh - guess that means an sqlite database do an sql injection on itself with my code 😆 thanks for the effort! |
@gwenn Can we get a release incorporating this fix? Thanks! |
@filalex77 I would like to merge #549 before. |
@gwenn Sure, thanks for the reply. |
Should be fixed by release 0.20. |
rusqlite fails to compile on Rust 1.36.0:
Seems to happen for both 0.19.0 and 0.18.0
Via this error report: phiresky/ripgrep-all#22
The text was updated successfully, but these errors were encountered: