Skip to content
This repository was archived by the owner on Feb 29, 2024. It is now read-only.
This repository was archived by the owner on Feb 29, 2024. It is now read-only.

Build error in Mac OS #910

Closed
Closed
@atyenoria

Description

@atyenoria

How can I solve this?

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`.

From this, this might be related to rust-lang/rust#42640

I followed this instruction https://github.com/hyperledger/indy-sdk/blob/master/doc/mac-build.md

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions