Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> cargo is a bad example as it's universally `cargo build`.

Except if you want to use some specific feature. Or specific log level. Or build a specific crate in a workspace. Or...



How does make solve those proBlems?


Parent states that it's always "cargo build" which in 90% of the cases, is true.

Except for the projects that would require something like "cargo build --feature=wayland" for example, in order to run.

So "cargo build" ends up not being universal, and adding make will make it just "make build" regardless of what flags people use with cargo, meaning it's more universal than "cargo build".




Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: