diff --git a/libsqlite3-sys/upgrade.sh b/libsqlite3-sys/upgrade.sh index 198cd2d..4f8ba3b 100755 --- a/libsqlite3-sys/upgrade.sh +++ b/libsqlite3-sys/upgrade.sh @@ -15,7 +15,7 @@ rm -f $SQLITE.zip rm -f $SQLITE3_LIB_DIR/bindgen_bundled_version.rs SQLITE3_INCLUDE_DIR=$SQLITE3_LIB_DIR cargo update -# Just to make sure there is only one bingen.rs file in target dir +# Just to make sure there is only one bindgen.rs file in target dir find $SCRIPT_DIR/target -type f -name bindgen.rs -exec rm {} \; cargo build --features "buildtime_bindgen" --no-default-features find $SCRIPT_DIR/target -type f -name bindgen.rs -exec cp {} $SQLITE3_LIB_DIR/bindgen_bundled_version.rs \;