Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion install_uniffi_bindgen_go.sh
Original file line number Diff line number Diff line change
@@ -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 5c68e58349035874d534a7c34117062a77a6f86e --git https://github.com/tnull/uniffi-bindgen-go/
2 changes: 0 additions & 2 deletions rebuild_rust_sdk.sh
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +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/"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
cargo build -p matrix-sdk-ffi --features 'rustls-tls,sentry'
# generate the bindings
Expand Down
Loading