After installing First time rust on ubuntu try to run this program.
fn main() {
println!("Hello, world!");
}
Error:
$ cargo run
Compiling test1 v0.1.0 (/home/saad/Documents/Rust/test1)
error: linker `cc` not found
|
= note: No such file or directory (os error 2)
error: aborting due to previous error
error: could not compile `test1`.