Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.
Sign upBroken on latest nightly #844
Comments
This comment has been minimized.
aulisius
commented
Apr 6, 2017
|
The problem lies in the libsqlite3-sys crate I believe The recent commit doesn't export the constants as public. |
killercup
referenced this issue
Apr 6, 2017
Merged
Avoid publicly exporting constants from libsqlite3-sys multiple times. #255
This comment has been minimized.
|
FYI this works libsqlite3-sys = { version = "=0.7.1", optional = true } |
This comment has been minimized.
|
Short story long - At some point bindgen started outputting macro-like constants, and However, I made a mistake here - there were manual constants (like the three in the diesel error above) that are newer than SQLite 3.6.8 (the default bindgen bindings chosen if you don't select an explicitly newer version of I'm taking @killercup's suggestion and doing two things:
The fix to use 0.7.1 works as long as you're linking against SQLite 3.7.16 or newer, but the "right" fix will be to use 0.8.0 with the |
added a commit
to jgallagher/diesel
that referenced
this issue
Apr 6, 2017
This comment has been minimized.
|
Thanks, @jgallagher! This should fix this issue for now. Can you confirm this, @SergioBenitez? Updating our dependency on libsqlite3-sys to a version >0.7 is a breaking change to diesel, especially as this is a system lib that can only be linked once. So, this will happen with the 0.13 release at the earliest. I'm not sure if what minimum version of sqlite we require, but 3.7.16 was release on 2013-03-18, so I'm pretty sure it's not a problem to require that. (We also have #829 open to add a bundled sqlite.) |
SergioBenitez
referenced this issue
Apr 6, 2017
Merged
Add bindgen bindings for SQLite 3.7.16 to libsqlite3-sys. #257
This comment has been minimized.
|
@killercup Indeed, this issue is resolved. Unfortunately another sprung up, but I'll deal with that in a different issue tracker. :) Thanks for being quick about this, @killercup, @jgallagher! |
SergioBenitez commentedApr 6, 2017
•
edited
Diesel
0.12appears to be broken on the latest nightly. I'm seeing the following:It doesn't seem like this is something that would be affected by a nightly. Perhaps there are some incorrect version bounds to an FFI library?