Hi, I'm building a small project that requires the libsql-client = '0.31.8'
crate, which depends on sqlite3-parser = '0.8.0'
.
Everything works well on my MacBook, but I get the following error on Windows.
The panicked statement in the sqlite3-parser-0.8.0\build.rs
file
assert!(Command::new(rlemon)
.arg("-DSQLITE_ENABLE_UPDATE_DELETE_LIMIT")
.arg("-Tthird_party/lemon/lempar.rs")
.arg(format!("-d{out_dir}"))
.arg(sql_parser)
.status()?
.success());
It looks to me that when rlemon
concats out_dir
and sql_parser
, a \
was used rather than a /
. So I modified the lemon.c
source file to normalise the slashes contained in the path strings. However the files that the build-script-build.exe
ties to access are still not emitted properly, and I still get the Can't open file error.
I'm relatively new to Rust and total C newb, and would really appreciate some tips and pointers on what to do next in order to debug this.
Thanks.