DEV Community

Discussion on: Making a Simple Calculator in Rust

Collapse
 
anandkeshavan profile image
anandkeshavan

cargo build give sme the following:

error[E0601]: main function not found in crate build_script_build
|
= note: consider adding a main function to src/build.rs

error: aborting due to previous error

For more information about this error, try rustc --explain E0601.
error: could not compile typical.

Any idea why?