-
- Downloads
upgpkg: 0.25.0-2: Rebuild for libgit2 1.9
-
@orhun @dvzrv @alucryd @svenstaro @kpcyrd @bertptrs @arodseth
Just FYI this appears to be a viable way for most Rust based projects that use git2 to build against current system libraries per libgit2-1.9.0 rebuild todo. This probably wouldn't work for all releases but since nothing much in the git2 interface seems to have changed only what version it can be built against it seems to work quite handily for this release cycle.
Edited by Caleb Maclennan -
Does not work in general unfortunately; for packages that depend on Cargo (as a library) like
cargo-crev
, it causes a conflict. You can update thegit2
dependency version for the main crate but dependencies will still pull in older version. This causes problems, as any "linked" library may only be specified once.I'm still looking for a good solution for
cargo-crev
, the only thing that "works" is vendoring git2 but I'd rather not. -
I have now found a workaround in cargo-crev@28c53383
I'll double-check that cargo is indeed updating, but that fix is at least two release cycles (12 weeks) away so the workaround stands.
EDIT: Cargo main is already updated, but this hasn't hit a release yet.
Edited by Bert Peters