Hi, Rust noob here :)
I have Rust and Cargo installed, I can run cargo build in the repo and it doesn't return any error, but then when I try cargo run, it tells me this: error: a bin target must be available for cargo run
It seems I'm lacking a binary file, but I don't know where it's supposed to be, I had a look in the target directory but didn't found it, can someone help me on this?
Hi, Rust noob here :) I have Rust and Cargo installed, I can run
cargo build
in the repo and it doesn't return any error, but then when I trycargo run
, it tells me this:error: a bin target must be available for cargo run
It seems I'm lacking a binary file, but I don't know where it's supposed to be, I had a look in thetarget
directory but didn't found it, can someone help me on this?