From 8abbf66d57d86927ae78a8de2bb709c587c04cea Mon Sep 17 00:00:00 2001 From: nicolas <48695862+merklefruit@users.noreply.github.com> Date: Fri, 20 Dec 2024 12:18:10 +0100 Subject: [PATCH] fix: attempt to include .git in cross-rs build ctx --- bolt-sidecar/Cross.toml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/bolt-sidecar/Cross.toml b/bolt-sidecar/Cross.toml index c707328e6..674b818ef 100644 --- a/bolt-sidecar/Cross.toml +++ b/bolt-sidecar/Cross.toml @@ -9,3 +9,8 @@ pre-build = [ # more info at: https://github.com/cross-rs/cross/issues/1565#issuecomment-2483968180 "apt-get --assume-yes --no-install-recommends install gcc-10 g++-10 && ln -sf /usr/bin/gcc-10 /usr/bin/gcc && ln -sf /usr/bin/g++-10 /usr/bin/g++" ] + +[build.env] +volumes = [ + "GIT_DIR=../.git" +]