Skip to content

'cargo test' fails on Windows with PCRE2 errors #2218

Answered by BurntSushi
gvanem asked this question in Q&A
Discussion options

You must be logged in to vote

This looks like an environment issue on Windows. Sadly, I'm not equipped to debug it as I don't use Windows.

I will say that I find it a little suspicious that it is trying to build with PCRE2 even though you didn't enable it. So if you truly are just running cargo test --release and aren't enabling the pcre2 feature, then that's the first thing to figure out.

I'm moving this to a Discussion question.

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@gvanem
Comment options

@BurntSushi
Comment options

@BurntSushi
Comment options

Answer selected by BurntSushi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #2217 on May 19, 2022 10:41.