From b1db8a6b99a85d67f1895b55de644363a5c2eed1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Damir=20Jeli=C4=87?= Date: Mon, 31 Aug 2026 13:51:13 +0200 Subject: [PATCH 1/2] Bump uniff-bindgen --- justfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/justfile b/justfile index e7d1de7..5841067 100644 --- a/justfile +++ b/justfile @@ -29,7 +29,7 @@ test rust-sdk-path pattern="": # Install the uniffi-bindgen-go command line utility, necessary to build the bindings. install-uniffi-bindgen: - cargo install uniffi-bindgen-go --tag {{ UNIFFI_GO_VERSION }} --git https://github.com/NordSecurity/uniffi-bindgen-go + cargo install uniffi-bindgen-go --rev 4f79e52bd8f518e5fa4d7acff9e586aee21e12a0 --git https://github.com/NordSecurity/uniffi-bindgen-go # Rebuild the version of matrix-rust-sdk used and regenerate its Go bindings. rebuild-rust-sdk rust-sdk-path: From e8a82a5820b3cb568f63c2815c7ac0497b4ee95c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Damir=20Jeli=C4=87?= Date: Mon, 31 Aug 2026 14:37:52 +0200 Subject: [PATCH 2/2] Fix the uniffi toml file The format slightly changed, we now have to define our module path in the default section. --- uniffi.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/uniffi.toml b/uniffi.toml index 738959e..1f48bbe 100644 --- a/uniffi.toml +++ b/uniffi.toml @@ -1,2 +1,2 @@ -[bindings.go] +[defaults.bindings.go] go_mod = "github.com/matrix-org/complement-crypto/internal/api/rust"