Enable musl target builds with vendored libgit2 (#4991)

* enable musl target builds with vendored libgit2

* move git2 to bottom of list

* also fix dioxus fullstack docs builds

---------

Co-authored-by: Jonathan Kelley <jkelleyrtp@gmail.com>
This commit is contained in:
Soheil AlizadehandJonathan Kelley authored and GitHub committed 2025-12-04 17:04:27 -08:00
1 parent fc0fbb2561
commit 3fef7a9962
3 files changed
+7 -7

No files matched your search

+3
View File
@@ -168,6 +168,9 @@ nucleo = "0.5.0"
# 0.5.12 rust-version is too high
home = "=0.5.11"
[target.'cfg(target_env = "musl")'.dependencies]
git2 = { version = "0.20.2", features = ["vendored-libgit2"] }
[build-dependencies]
built = { version = "0.8.0", features = ["git2"] }