Cross compiling crate with git-version #1473
-
My crate depends on
It's most likely caused by the git directory having a different owner than the user that's running The minimal repro case is here: https://github.com/ondrowan/cross-git-version/tree/master |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
there's no good way to solve this, except doing I'm sure we can make it better, but I'm not certain [build]
pre-build = ["git config --system --add safe.directory /some/path"] |
Beta Was this translation helpful? Give feedback.
looks like
works, which should be universal!