cargo build 2.3.5
Compiling indy v1.4.0 (file:///Users/jima/jdd/indy-sdk/libindy)
error: non-reference pattern used to match a reference (see issue #42640)
--> src/commands/did.rs:555:24
|
555 | if let Some(data) = &res.data {
| ^^^^^^^^^^ help: consider using: `&Some(data)`
error: aborting due to previous error
error: Could not compile `indy`.
How can I solve this?
From this, this might be related to https://github.com/rust-lang/rust/issues/42640
I followed this instruction https://github.com/hyperledger/indy-sdk/blob/master/doc/mac-build.md