Skip to content

build: reinstall uniffi-bindgen-go when the installed version is stale #409

Open
kcalvinalvin wants to merge 1 commit into
utreexo:mainfrom
kcalvinalvin:2026-05-29-fix-make-clean
Open

build: reinstall uniffi-bindgen-go when the installed version is stale #409
kcalvinalvin wants to merge 1 commit into
utreexo:mainfrom
kcalvinalvin:2026-05-29-fix-make-clean

Conversation

@kcalvinalvin
Copy link
Copy Markdown
Contributor

The previous check only verified that the binary existed on PATH, so a
user with an older uniffi-bindgen-go from a prior project setup would
silently use it and generate bindings that don't match the current
bdkgo.h/bdkgo.go expected by the codebase. Pin the version as a Makefile
variable, compare against --version, and use --force on cargo install so
a stale binary is actually replaced.

The previous check only verified that the binary existed on PATH, so a
user with an older uniffi-bindgen-go from a prior project setup would
silently use it and generate bindings that don't match the current
bdkgo.h/bdkgo.go expected by the codebase. Pin the version as a Makefile
variable, compare against --version, and use --force on cargo install so
a stale binary is actually replaced.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant