https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119333
--- Comment #2 from Sam James <sjames at gcc dot gnu.org> --- .cargo/ at top-level with: .cargo/config.toml: ``` [net] offline = true ``` and CARGO_HOME="${srcdir}/.cargo" or something like that would work.