Skip to content

Commit

Permalink
fix: attempt to include .git in cross-rs build ctx
Browse files Browse the repository at this point in the history
  • Loading branch information
merklefruit committed Dec 20, 2024
1 parent 6416551 commit 8abbf66
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions bolt-sidecar/Cross.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
]

0 comments on commit 8abbf66

Please sign in to comment.