Skip to content
This repository was archived by the owner on Nov 21, 2018. It is now read-only.

Failed to install win32 toolchain on Linux host #85

Closed
0x7CFE opened this issue May 20, 2017 · 1 comment
Closed

Failed to install win32 toolchain on Linux host #85

0x7CFE opened this issue May 20, 2017 · 1 comment

Comments

@0x7CFE
Copy link

0x7CFE commented May 20, 2017

tl;dr; Looks like the problem is related to improper handling of path delimiters:

$ rustup target add i686-pc-windows-msvc
info: downloading component 'rust-std' for 'i686-pc-windows-msvc'
info: installing component 'rust-std' for 'i686-pc-windows-msvc'
info: rolling back changes
error: could not copy file from '/home/korvin/.rustup/tmp/62v1xsw0ae7ppgnh_dir/rust-std-i686-pc-windows-msvc/lib\rustlib\i686-pc-windows-msvc\lib\arena-04cd199c7c4cce31.dll' to '/home/korvin/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib\rustlib\i686-pc-windows-msvc\lib\arena-04cd199c7c4cce31.dll'
info: caused by: the source path is not an existing regular file

Notice that the first part of the path uses / and after toolchain triple it gets switched to \ which obviously will not be treated as a valid path on Linux.

I'm running the recent rustup version: rustup 1.3.0 (124170c 2017-05-09)

@0x7CFE
Copy link
Author

0x7CFE commented May 20, 2017

Sorry, the wrong repo. Moreover it's a duplicate of rust-lang/rustup#1127

@0x7CFE 0x7CFE closed this as completed May 20, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant