Closed xoac closed 2 years ago
Hi, here is a solution how to enable caching if sb is interested:
You need to just mount a registry:
-v "$(pwd)"/target/armv7-unknown-linux-musleabihf/musl-builder/cargo-cache:/root/.cargo/registry`
Full example from ~/.zshrc if you use bash you should put it to ~/.bashrc
~/.zshrc
~/.bashrc
rust-musl-builder-armv7() { docker run --rm -it -v "$(pwd)"/target/armv7-unknown-linux-musleabihf/musl-builder/cargo-cache:/root/.cargo/registry -v "$(pwd)":/home/rust/src messense/rust-musl-cross:armv7-musleabihf "$@" }
It would be nice to add info about cache to README
Hi, here is a solution how to enable caching if sb is interested:
You need to just mount a registry:
Full example from
~/.zshrc
if you use bash you should put it to~/.bashrc
It would be nice to add info about cache to README