Rust编译报错:error: linker `cc` not found

   Compiling ceshi v0.1.0 (/home/jia/ceshi)
error: linker `cc` not found
  |
  = note: No such file or directory (os error 2)

error: could not compile `ceshi` due to previous error

在终端执行以下命令:

sudo apt update
sudo apt install build-essential

你可能感兴趣的:(rust,开发语言,后端)