forked from ZenGo-X/emerald-city
-
Notifications
You must be signed in to change notification settings - Fork 1
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
Hi @vhnatyk I need to create wasm files in zengo_mpc_eddsa code. Please help me in that. I am not able to create wasm files. #5
Comments
Hi - uh oh, was so long time ago - I don't remember the command line or exact environment settings for wasm unfortunately |
Can you please give me any reference from where I can follow those steps?
It can help me because when I'm creating wasm file, It's giving a lots of
errors like below -
"error[E0599]: no method named `as_sock` found for reference `&TcpBuilder`
in the current scope
-->
/Users/dheerajkumar/.cargo/registry/src/index.crates.io-6f17d22bba15001f/net2-0.2.39/src/ext.rs:1407
:22
|
1407 | set_opt(self.as_sock(), SOL_SOCKET, SO_REUSEADDR,
| ^^^^^^^ method not found in `&TcpBuilder`
|
= help: items from traits can only be used if the trait is
implemented and in scope
note: `AsSock` defines an item `as_sock`, perhaps you need to implement it
-->
/Users/dheerajkumar/.cargo/registry/src/index.crates.io-6f17d22bba15001f/net2-0.2.39/src/ext.rs:650
:1
|
650 | pub trait AsSock {
| ^^^^^^^^^^^^^^^^
error[E0599]: no method named `as_sock` found for reference `&TcpBuilder`
in the current scope
-->
/Users/dheerajkumar/.cargo/registry/src/index.crates.io-6f17d22bba15001f/net2-0.2.39/src/ext.rs:1413
:22
|
1413 | get_opt(self.as_sock(), SOL_SOCKET,
SO_REUSEADDR).map(int2bool)
| ^^^^^^^ method not found in `&TcpBuilder`
|
= help: items from traits can only be used if the trait is
implemented and in scope
note: `AsSock` defines an item `as_sock`, perhaps you need to implement it
-->
/Users/dheerajkumar/.cargo/registry/src/index.crates.io-6f17d22bba15001f/net2-0.2.39/src/ext.rs:650
:1
|
650 | pub trait AsSock {
| ^^^^^^^^^^^^^^^^
error[E0599]: no method named `as_sock` found for reference `&TcpBuilder`
in the current scope
-->
/Users/dheerajkumar/.cargo/registry/src/index.crates.io-6f17d22bba15001f/net2-0.2.39/src/ext.rs:1422
:22
|
1422 | get_opt(self.as_sock(), SOL_SOCKET, SO_ERROR).map(int2err)
| ^^^^^^^ method not found in `&TcpBuilder`
|
= help: items from traits can only be used if the trait is
implemented and in scope
note: `AsSock` defines an item `as_sock`, perhaps you need to implement it
-->
/Users/dheerajkumar/.cargo/registry/src/index.crates.io-6f17d22bba15001f/net2-0.2.39/src/ext.rs:650
:1
|
650 | pub trait AsSock {
| ^^^^^^^^^^^^^^^^
error[E0599]: no method named `as_sock` found for reference `&TcpBuilder`
in the current scope"
error: could not compile `net2` (lib) due to 319 previous errors
…On Wed, Jun 21, 2023 at 10:24 PM Vitalii Hnatyk ***@***.***> wrote:
Closed #5 <#5> as completed.
—
Reply to this email directly, view it on GitHub
<#5 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/A5BHW7WSXIIFONUA3FXNFJLXMMRLHANCNFSM6AAAAAAY6HOUBA>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thanks
Originally posted by @dheeraj-721 in #2 (comment)
The text was updated successfully, but these errors were encountered: