Open ChaiTRex opened 6 months ago
I cannot install cargo-update on macOS Sonoma 14.4.1. It seems to fail on compiling the git2 crate, but creating a new crate and putting git2 = "0.18" in its dependencies will compile successfully. sudo port install libgit2 does not fix the issue.
cargo-update
git2
git2 = "0.18"
sudo port install libgit2
cargo install cargo-update output
cargo install cargo-update
The solution at https://github.com/rust-lang/git2-rs/issues/180#issuecomment-433756520 fixes the issue:
RUSTFLAGS='-L /usr/lib' cargo install cargo-update
I cannot install
cargo-update
on macOS Sonoma 14.4.1. It seems to fail on compiling thegit2
crate, but creating a new crate and puttinggit2 = "0.18"
in its dependencies will compile successfully.sudo port install libgit2
does not fix the issue.cargo install cargo-update
output