From 4adbecc2410f1382c18d86e99ccd54aff8f3caf0 Mon Sep 17 00:00:00 2001 From: Kevin Hoerr Date: Wed, 25 Feb 2026 19:51:48 +0000 Subject: dev.sh: Bind mount cargo repository cache --- dev.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/dev.sh b/dev.sh index 1b2fb47..d498755 100755 --- a/dev.sh +++ b/dev.sh @@ -29,6 +29,7 @@ fi $OCI_RUNTIME run -it \ --rm \ --mount type=bind,source=.,target=$CONTAINER_WORKDIR \ + --mount type=bind,source=$HOME/.cargo/registry,target=/usr/local/cargo/registry \ --mount type=bind,source=$HOME/.config/helix,target=/home/$CONTAINER_USER/.config/helix \ --mount type=bind,source=$HOME/.ssh/config,target=/home/$CONTAINER_USER/.ssh/config,ro \ --mount type=bind,source=$GIT_CONFIG,target=/home/$CONTAINER_USER/.gitconfig,ro \ -- cgit v1.3