Unable to compile Rust hello world on Windows: linker link.exe not found

后端 未结 5 2199
隐瞒了意图╮
隐瞒了意图╮ 2020-12-13 08:31

I have installed Rust on windows from Rust installation page. After installation I tried running the \"hello world\" program but got the following error.



        
5条回答
  •  北荒
    北荒 (楼主)
    2020-12-13 09:26

    Try using Powershell outside Visual Studio, instead.

    Then cargo run in src's parent folder.

    You can try also: rustc

    Good luck.

提交回复
热议问题