Build Security
Rust Internals [Unofficial]
April 15, 2026
A flag like good, depends if Cargo build scripts can execute arbiratry code, that is supply chain risks, we need a flag named --disable-build-scripts, some deps they not need any build scripts and also in Cargo.toml disable-build-scripts will be allowed and also you can specify what crates can execute arbiratry code and what crates are not allowed via a whitelist
Discussion in the ATmosphere