Yesterday, they tried to get a Python library that built a native library using Meson to work. They were working under WSL, but somehow, Meson was attempting to use the MSVC toolchain and failing.
And they were using pip/uv whatever from linux, the linux version.
One of the most common issues is calling a windows executable from within wsl… it’s a “convenience” feature that takes about 2 seconds to disable in the wsl config but causes these kinds of weird bugs
Sounds a lot like a picnic problem but you didn’t give nearly enough details.