cross-rs / cross

“Zero setup” cross compilation and “cross testing” of Rust crates
Apache License 2.0
6.68k stars 374 forks source link

How to avoid repeated "downloading component 'rust-std' " #1579

Open dmikushin opened 4 hours ago

dmikushin commented 4 hours ago

When running cross-rs from within another Docker container, please provide a clear instruction how to avoid repeated download of rust-std:

info: downloading component 'rust-std' for 'aarch64-unknown-linux-gnu'
info: installing component 'rust-std' for 'aarch64-unknown-linux-gnu'
Emilgardis commented 4 hours ago

Please provide more detail, what does repeated download of rust-std mean? Does it mean that it keeps downloading it many times in the same invocation, or does it mean that it always downloads the component on new invocation in a new container?

Are you using CROSS_CONTAINER_IN_CONTAINER=1 ?