Closed Timmmm closed 4 years ago
That is quite the strange error, why wouldn't it find items for regex_syntax
? Does a verbose build (cargo b -vvv
) give more information?
Hmm I realised it might be because I am using sccache
. After deleting its cache and rebuilding it worked fine. Well, ish. I had to try a couple of times - it doesn't seem very robust to non-clean builds but I guess that is what you get if you wrap a C library.
We might have to emit some more cargo:rebuild-if-changed
lines to the build scripts. Are there any relevant environment flags which should be checked for?
I have no idea, sorry!
I have this in
Cargo.toml
:If I run
cargo build
on OSX I get this error:I also tried adding this to
Cargo.toml
but it doesn't change anything:This is using Rust 1.45.2.