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

Build error in Mac OS #910

Closed
atyenoria opened this issue Jun 28, 2018 · 2 comments
Closed

Build error in Mac OS #910

atyenoria opened this issue Jun 28, 2018 · 2 comments

Comments

@atyenoria
Copy link

atyenoria commented Jun 28, 2018

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

@vimmerru
Copy link

@atyenoria You need to update your Rust compiler. 1.26 or 1.27 version will work.

@atyenoria
Copy link
Author

@vimmerru
Thanks! It works.
rustup update

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

No branches or pull requests

2 participants