-
-
Notifications
You must be signed in to change notification settings - Fork 102
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
cargo insta review
fails with `Incorrect function. (os error 1)
#79
Comments
Two of my colleagues tried to reproduce it but it worked fine for them. There seem to be something odd about my machine. I've tried to remove MinGW from my path but I still get the same result. |
I cannot reproduce this. |
I can also reproduce this on my home machine. Any ideas how I can figure out what is going on? I do not see any logging in cargo-insta? |
@MichaelMcDonnell first thing to try is if When I was googling for the issue I found this which suggested it might have something to do with the subsystem for linux: rust-lang/cargo#7511 — so the culprits might be operations on the path. For instance we might canonicalize somewhere, where this is unsafe to do on windows. |
Thanks for your suggestion and the googling. That referenced issue sounds like what I'm seeing, except I'm not using WSL. Using I added some |
(should we close? This is from 2019) |
Closing the issue. I'm not using |
I'm trying to update a snapshot with the
cargo insta review
but get the error message `Incorrect function. (os error 1). It only happens when I use Git Bash on Windows. Using cmd.exe works fine.Steps to reproduce:
cargo insta review
Again, using cmd.exe works fine.
The text was updated successfully, but these errors were encountered: