Separating fetching from building for better security
Rust Internals [Unofficial]
June 15, 2026
grothesque:
A first phase that roughly runs
cargo fetchin a sandbox with network enabled.A second phase that runs
cargo build --lockedin a sandbox with network disabled.
What about doing all process in a sandbox that has only access to index.crates.io?
Discussion in the ATmosphere