Rust compilation error: 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

Execute the following command in the terminal:

sudo apt update
sudo apt install build-essential

Guess you like

Origin blog.csdn.net/love906897406/article/details/126070786
Recommended