File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ elif [[ $ARG == .* ]]; then # starts with . => relative path
3333 echo " path not found: $ARG " ;
3434 exit 1
3535 fi
36- else # HTTPS URL => git clone into temp dir
36+ else # HTTPS URL => git clone into temp dir
3737 rm -rf $RUST_SDK_DIR || echo ' no temp directory found, cloning' ;
3838 SEGMENTS=(${ARG//@/ } );
3939 git clone --depth 1 --branch ${SEGMENTS[1]} ${SEGMENTS[0]} $RUST_SDK_DIR ;
@@ -56,7 +56,7 @@ sed -i.bak 's/uniffi =.*/uniffi = "0\.29\.5"/' Cargo.toml
5656sed -i.bak ' s/"wasm-unstable-single-threaded"//' bindings/matrix-sdk-ffi/Cargo.toml
5757sed -i.bak ' s^uniffi_bindgen =.*^uniffi_bindgen = { git = "https:\/\/github.com\/mozilla\/uniffi-rs", rev = "f7a0ba703b4c06fff8fffa98078f2e5d7588a695" }^' Cargo.toml
5858sed -i.bak ' s#matrix-sdk-crypto = {#matrix-sdk-crypto = {features = ["_disable-minimum-rotation-period-ms"],#' Cargo.toml
59- cargo build -p matrix-sdk-ffi --features ' native -tls,sentry'
59+ cargo build -p matrix-sdk-ffi --features ' rustls -tls,sentry'
6060# generate the bindings
6161echo " generating bindings to $COMPLEMENT_DIR /internal/api/rust..." ;
6262uniffi-bindgen-go -o $COMPLEMENT_DIR /internal/api/rust --config $COMPLEMENT_DIR /uniffi.toml --library ./target/debug/libmatrix_sdk_ffi.a
You can’t perform that action at this time.
0 commit comments