New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't compile on Windows #253
Comments
I've also encountered this issue with a pretty similar error
|
also, on windows 11, difftastic v27:
|
I also got a bunch of unresolved externals from tree_sitter while compiling on Windows 10 with Visual Studio Community 2022 (I think about ten errors). So I searched and found this issue. I issued the "cargo install difftastic" command a second time so I could reproduce the linker error and paste it here. To my surprise, I got a much shorter list of unresolved externals (only two). Feeling optimistic, I ran "cargo install difftastic" a third time and it succeeded. Edit: And I can confirm that difftastic is working fine after the third (successful) install attempt. |
That's super weird that the build process is not deterministic. Can you explain that? |
After playing with this some, the build process is definitely not deterministic since nearly every time I build I get a different linking error PHP & JS
Lua & YAML
C++
PHP
Janet
So needless to say, something very weird is going on |
i got it to build after doing a |
I believe that Rust linking has changed in recent versions. Released binaries are built with Rust 1.56 (on all platforms), so you might have better luck building with 1.56. It's definitely a bug that difftastic won't build on Windows with newer Rust versions though. |
I've seen this crate when debugging another PR to rustc. (The |
Thanks for reporting a bug! Please include all of the following:
The text was updated successfully, but these errors were encountered: