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

Cargo doesn’t handle non-Rust dependencies. For example, the protobuf compiler when called from build.rs.

People use devcontainers, Nix flakes or large build systems like Bazel to describe the build environment.



https://github.com/andrewhickman/protox is a pure-Rust protobuf compiler.

The argument works better for the likes of libclang.


Thank you for the recommendation.




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: