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

Rust crates run arbitrary code more often at build/install time than npm packages do.

Some people use 'pnpm', which only runs installScripts for a whitelisted subset of packages, so an appreciable fraction of the npm ecosystem (those that don't use npm or yarn, but pnpm) do not run scripts by default.

Cargo compiles and runs `build.rs` for all dependencies, and there's no real alternative which doesn't.



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

Search: