gccrs icon indicating copy to clipboard operation
gccrs copied to clipboard

Add checking that `cargo` exists when building gccrs

Open CohenArthur opened this issue 1 year ago • 3 comments

Add checking for the existence of cargo when building gccrs, erroring out nice and early if it is not present - this will improve the user experience now that we rely on Rust components.

CohenArthur avatar Feb 27 '24 13:02 CohenArthur

This is in context of #2822 "Start reusing rustc's format_args parser".

I'm actually curious: is it really erroring out, or is it degraded functionality?

tschwinge avatar Feb 27 '24 14:02 tschwinge

it's erroring out properly, but mjw suggested adding that check to cut out the compilation earlier in case cargo isn't present. it will make the experience better

CohenArthur avatar Feb 27 '24 15:02 CohenArthur

https://www.gnu.org/software/autoconf/manual/autoconf-2.60/html_node/Generic-Programs.html

CohenArthur avatar Mar 26 '24 18:03 CohenArthur