Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix compile error #1

Merged
merged 1 commit into from
Feb 16, 2019
Merged

fix compile error #1

merged 1 commit into from
Feb 16, 2019

Conversation

mcdallas
Copy link
Contributor

error[E0658]: imports can only refer to extern crate names passed with `--extern` on stable channel (see issue #53130)   
  --> apiwallet/src/lib.rs:37:9                                                                                          
   |                                                                                                                     
36 | pub mod api;                                                                                                        
   | ------------ not an extern crate passed with `--extern`                                                             
37 | pub use api::{APIForeign, APIOwner};                                                                                
   |         ^^^                                                                                                         
   |                                                                                                                     
note: this import refers to the module defined here                                                                      
  --> apiwallet/src/lib.rs:36:1                                                                                          
   |                                                                                                                     
36 | pub mod api;                                                                                                        
   | ^^^^^^^^^^^^                                                                                                        
                                                                                                                         
error: aborting due to previous error                                                                                    
                                                                                                                         
For more information about this error, try `rustc --explain E0658`.                                                      
error: Could not compile `grin_apiwallet`.   

@yeastplume
Copy link
Member

confused since this built fine locally and passed travis tests and produced a build.. what version of rust are you using?

@jaspervdm
Copy link
Contributor

I can confirm that I get this compilation error on Windows, adding crate:: fixed it.

@yeastplume
Copy link
Member

ahhh... windows...

@yeastplume yeastplume merged commit c01cd63 into mimblewimble:master Feb 16, 2019
@mcdallas
Copy link
Contributor Author

I'm on Ubuntu using rust 1.31.1 stable

@mcdallas mcdallas deleted the patch-1 branch February 16, 2019 16:16
garyyu added a commit that referenced this pull request Apr 25, 2019
* store receiver's output into the sender's database

* rustfmt

* payment output refresh

* fix the test code in libwallet

* rustfmt

* fix wallet_command_line test

* modify the warning message for self sending

* a bit of unit test according to review comments

* display unknown value for the case of multiple outputs on single receiver, normally it's not the case of this wallet implementation

* rustfmt

* fix merge missing parts

* rustfmt

* use PaymentCommitMapping struct instead of a tuple

* rustfmt

* fix the test

* fix the owner api rpc test
cgilliard referenced this pull request in mwcproject/mwc-wallet Jun 23, 2019
antiochp pushed a commit to antiochp/grin-wallet that referenced this pull request Aug 7, 2020
antiochp pushed a commit to antiochp/grin-wallet that referenced this pull request Aug 7, 2020
* store receiver's output into the sender's database

* rustfmt

* payment output refresh

* fix the test code in libwallet

* rustfmt

* fix wallet_command_line test

* modify the warning message for self sending

* a bit of unit test according to review comments

* display unknown value for the case of multiple outputs on single receiver, normally it's not the case of this wallet implementation

* rustfmt

* fix merge missing parts

* rustfmt

* use PaymentCommitMapping struct instead of a tuple

* rustfmt

* fix the test

* fix the owner api rpc test
@MCM-Mike MCM-Mike mentioned this pull request Nov 28, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants