Skip to content

Commit aa26c5f

Browse files
committed
Update to uniffi 0.31.0
1 parent 410f8be commit aa26c5f

2 files changed

Lines changed: 1 addition & 3 deletions

File tree

install_uniffi_bindgen_go.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
#!/bin/bash -e
22
set -o pipefail
33

4-
cargo install uniffi-bindgen-go --tag v0.5.0+v0.29.5 --git https://github.com/NordSecurity/uniffi-bindgen-go
4+
cargo install uniffi-bindgen-go --rev 5c68e58349035874d534a7c34117062a77a6f86e --git https://github.com/tnull/uniffi-bindgen-go/

rebuild_rust_sdk.sh

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,9 +52,7 @@ cp Cargo.toml Cargo.toml.backup
5252
cp Cargo.lock Cargo.lock.backup
5353
cp bindings/matrix-sdk-ffi/Cargo.toml bindings/matrix-sdk-ffi/Cargo.toml.backup
5454
trap "restore_backups" EXIT INT TERM
55-
sed -i.bak 's/uniffi =.*/uniffi = "0\.29\.5"/' Cargo.toml
5655
sed -i.bak 's/"wasm-unstable-single-threaded"//' bindings/matrix-sdk-ffi/Cargo.toml
57-
sed -i.bak 's^uniffi_bindgen =.*^uniffi_bindgen = { git = "https:\/\/github.com\/mozilla\/uniffi-rs", rev = "f7a0ba703b4c06fff8fffa98078f2e5d7588a695" }^' Cargo.toml
5856
sed -i.bak 's#matrix-sdk-crypto = {#matrix-sdk-crypto = {features = ["_disable-minimum-rotation-period-ms"],#' Cargo.toml
5957
cargo build -p matrix-sdk-ffi --features 'rustls-tls,sentry'
6058
# generate the bindings

0 commit comments

Comments
 (0)