wsl ubuntu中cargo run 报错 linker `cc` not found

rust造成该错误的原因是没有安装gcc。

使用aptitude一键安装gcc即可

sudo apt install aptitude
sudo aptitude install gcc

发表评论

[/0o0] [..^v^..] [0_0] [T.T] [=3-❤] [❤.❤] [^v^] [-.0] [!- -] [=x=] [→_→] [><] 更多 »
昵称

抢沙发~