Re:Malicious Rust crate Arrayref runs a build-time payload
by mike_hearn on Thursday August 20, 2026 @05:24PM
(#49380472)
But people say build.rs is used mostly to compile C dependencies, in which case the lack of ABI stability of Rust is neither here nor there.
[ Parent
| on HN ]
Re:Malicious Rust crate Arrayref runs a build-time payload
by pie_flavor on Sunday August 23, 2026 @12:24AM
(#49406053)
It's used to do all sorts of things. Rust version probing, bindings generation, precompiling bundled data, etc. The only reason it isn't used to do more is because proc macros do it instead, with an essentially identical execution model and sandboxing situation (ie build scripts in isolation are a red herring).