Please can anybody suggest what's happening here?
Everything was working fine yesterday, nothing has changed (that I know of) and now cargo won't build even the default code.
On windows 10:
- Open VS Code
- Open terminal from within VSCode (tried powershell and commend prompt)
- type cargo new hello
- cd hello
- cargo build
I get the message: fatal error LNK1112: module machine type 'x86' conflicts with target machine type 'x64'
Trying this with a windows command prompt directly and it works fine.
Checking settings, both the windows cmd and the terminal in VSCode use %windir%\system32\cmd.exe
Default host: x86_64-pc-windows-msvc
rustup home: C:\Users\tony.rustup
rustc 1.49.0 (e1884a8e3 2020-12-29)
Thanks in advance!