You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I build my crate (only whenever I switch between cargo b and cargo watch -x b!), it always recompiles a few deps that didn't change (starting with libsqlite3-sys):
And then it recompiles my workspace's db crate that uses diesel, and all the other crates that depend on the db crate, so somehow libsqlite3-sys gets marked as dirty, but why?
It definitely didn't happen before I upgraded from diesel 0.16 (which used libsqlite3-sys 0.8.1) to diesel 1.3 (last week).
Do you have any idea what could cause this?
Maybe libsqlite3-sys 0.9.3 is reading some environment variables that are different with cargo-watch, and these env vars were not used in libsqlite3-sys 0.8.1?
Btw, it also happens when switching between cargo check and cargo watch -x r (but never when switching between cargo check & cargo b or cargo watch -x r & cargo watch -x b), so the defining characteristic is that this only happens when switching between building/checking with cargo "without cargo-watch" and "with cargo-watch".
So it must have something to do with cargo-watch, but only triggered by the new version of libsqlite3-sys somehow.
The text was updated successfully, but these errors were encountered:
When I build my crate (only whenever I switch between
cargo b
andcargo watch -x b
!), it always recompiles a few deps that didn't change (starting withlibsqlite3-sys
):And then it recompiles my workspace's
db
crate that uses diesel, and all the other crates that depend on thedb
crate, so somehowlibsqlite3-sys
gets marked as dirty, but why?It definitely didn't happen before I upgraded from diesel 0.16 (which used
libsqlite3-sys 0.8.1
) to diesel 1.3 (last week).Do you have any idea what could cause this?
Maybe
libsqlite3-sys 0.9.3
is reading some environment variables that are different withcargo-watch
, and these env vars were not used inlibsqlite3-sys 0.8.1
?Btw, it also happens when switching between
cargo check
andcargo watch -x r
(but never when switching betweencargo check
&cargo b
orcargo watch -x r
&cargo watch -x b
), so the defining characteristic is that this only happens when switching between building/checking with cargo "without cargo-watch" and "with cargo-watch".So it must have something to do with cargo-watch, but only triggered by the new version of
libsqlite3-sys
somehow.The text was updated successfully, but these errors were encountered: