From 50e823be036e62d55934daae748e9ab259237b14 Mon Sep 17 00:00:00 2001 From: Johannes Marbach Date: Mon, 9 Mar 2026 14:55:31 +0100 Subject: [PATCH] Update to uniffi 0.30.0 Signed-off-by: Johannes Marbach --- install_uniffi_bindgen_go.sh | 2 +- rebuild_rust_sdk.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/install_uniffi_bindgen_go.sh b/install_uniffi_bindgen_go.sh index 0751115..bbd0cdb 100755 --- a/install_uniffi_bindgen_go.sh +++ b/install_uniffi_bindgen_go.sh @@ -1,4 +1,4 @@ #!/bin/bash -e set -o pipefail -cargo install uniffi-bindgen-go --tag v0.5.0+v0.29.5 --git https://github.com/NordSecurity/uniffi-bindgen-go +cargo install uniffi-bindgen-go --rev c9edfe9ec5c6013c68e62ca0801dfbe096e89bf0 --git https://github.com/tnull/uniffi-bindgen-go diff --git a/rebuild_rust_sdk.sh b/rebuild_rust_sdk.sh index 22c44d5..2b34ad5 100755 --- a/rebuild_rust_sdk.sh +++ b/rebuild_rust_sdk.sh @@ -52,7 +52,7 @@ cp Cargo.toml Cargo.toml.backup cp Cargo.lock Cargo.lock.backup cp bindings/matrix-sdk-ffi/Cargo.toml bindings/matrix-sdk-ffi/Cargo.toml.backup trap "restore_backups" EXIT INT TERM -sed -i.bak 's/uniffi =.*/uniffi = "0\.29\.5"/' Cargo.toml +sed -i.bak 's/uniffi =.*/uniffi = "0\.30\.0"/' Cargo.toml sed -i.bak 's/"wasm-unstable-single-threaded"//' bindings/matrix-sdk-ffi/Cargo.toml sed -i.bak 's^uniffi_bindgen =.*^uniffi_bindgen = { git = "https:\/\/github.com\/mozilla\/uniffi-rs", rev = "f7a0ba703b4c06fff8fffa98078f2e5d7588a695" }^' Cargo.toml sed -i.bak 's#matrix-sdk-crypto = {#matrix-sdk-crypto = {features = ["_disable-minimum-rotation-period-ms"],#' Cargo.toml