Skip to content
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

Trouble with cygwin #3403

Closed
mcandre opened this issue Nov 3, 2018 · 2 comments
Closed

Trouble with cygwin #3403

mcandre opened this issue Nov 3, 2018 · 2 comments

Comments

@mcandre
Copy link

mcandre commented Nov 3, 2018

Clippy has trouble when running in cygwin environments...

$ cargo clippy
...
Caused by:
  process didn't exit successfully: `C:\Users\vagrant\.rustup\toolchains\stable-i686-pc-windows-msvc\bin\clippy-driver.exe rustc --crate-name bronze src/lib/bronze.rs --color never --crate-type lib --emit=dep-info,metadata -C debuginfo=2 -C metadata=e721302df396d816 -C extra-filename=-e721302df396d816 --out-dir 'C:\vagrant\target\debug\deps' -C 'incremental=C:\vagrant\target\debug\incremental' -L 'dependency=C:\vagrant\target\debug\deps'` (exit code: 3221225477)

As a workaround, one can sometimes run clippy from a cmd.exe or PowerShell.exe context, though even that doesn't work when the cmd/PowerShell session is running within an SSH environment, such as over vagrant ssh...

I haven't delved into the rustup code yet, but it appears that a check for which directory separator to use is defaulting to UNIX forward slash (/) in 32-bit Windows, whereas rustup in 64-bit Windows correctly applies backslash (\).

@hcpl
Copy link

hcpl commented Nov 3, 2018

Related issues: #2310, #3202 and #3345.

@mati865
Copy link
Contributor

mati865 commented Dec 17, 2018

Duplicate of #3202

@phansch phansch closed this as completed Dec 18, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants