Open
Description
This is similar to previous issues and seems to be fixed in the lastest (but not released as of 3 Jan 2017) code, but considering it took me over 2 hours and some digging through old (VisualRust 0.1.2) code to work out a straight answer I thought I might save someone time and post the solution here:
Basically you need to point VisualRust at your install (.cargo) directory using a registry key:
- Run regedit.exe
- Navigate to HKEY_LOCAL_MACHINE\SOFTWARE
- Create a 'Mozilla Foundation' key (assuming it doesn't exist) under the 'SOFTWARE' key
- Create a 'Rust' key under the 'Mozilla Foundation' key (note: technically it only needs to start with 'rust', so you can use something like 'Rust Stable' if you like)
- Create another key under the 'Rust' key; pretty sure the name doesn't matter, so your installed rustc.exe version is a good choice (e.g. '1.14.0'). Your full registry path should look something like: HKEY_LOCAL_MACHINE\SOFTWARE\Mozilla Foundation\Rust\1.14.0
- Create an 'InstallDir' String Value under that key with the value being the install path (e.g. C:\Users\User\.cargo\ )
Good luck.