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

Tried and failed #1

Closed
leobragaz opened this issue Apr 1, 2021 · 2 comments
Closed

Tried and failed #1

leobragaz opened this issue Apr 1, 2021 · 2 comments

Comments

@leobragaz
Copy link

Hi @ianpurton. I saw your comment here and I couldn't resist to try out your code since it was weeks that I was searching around for something like this. Great work!

As the title said, I tried it and generated this code which is part of a bigger library that I'm using and trying to make it compile to WASM. Unfortunately for me, when I tried to build it with wasm-pack build it failed with the errors coming from socket2 which after a cargo tree I discovered to be part of hyper of reqwest. I saw that reqwest` is used to generate the client and as you stated in the issue's comment, you used it to make it compile to WASM. I can't understand why my code still don't compile at it even though it looks like it should.
What am I missing here?
Thanks in advance for your answer.

@leobragaz
Copy link
Author

I'm sorry, it was my fault. There was a default feature that was linked with tonic.

@9876691
Copy link
Contributor

9876691 commented Apr 2, 2021

@bragaz Glad you got it working.

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

No branches or pull requests

2 participants