Rust error: failed to custom build for `openssl-sys v*` linker `cc` not found

solution is install openssl and pkg-config

 pacman -S openssl
 pacman -S pkg-config

error: linker cc not found | = note: No such file or directory (os error 2)

rust compiler need cc , just install gcc can get rid of this error

pacman -S gcc