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

Compiling Wasmer (depended by cosmwasm-vm) Fails #176

Open
loloicci opened this issue Mar 23, 2022 · 0 comments
Open

Compiling Wasmer (depended by cosmwasm-vm) Fails #176

loloicci opened this issue Mar 23, 2022 · 0 comments

Comments

@loloicci
Copy link
Member

$ cargo check
    Checking wasmer v2.0.0
error[E0277]: the trait bound `u64: From<usize>` is not satisfied
   --> /xxx/.cargo/registry/src/github.com-1ecc6299db9ec823/wasmer-2.0.0/src/externals/memory.rs:134:28
    |
134 |         def.current_length.into()
    |                            ^^^^ the trait `From<usize>` is not implemented for `u64`                            
    |
    = help: the following implementations were found:
              <u64 as From<&'a rend::BigEndian<u64>>>
              <u64 as From<&'a rend::LittleEndian<u64>>>
              <u64 as From<&'a rend::NativeEndian<u64>>>
              <u64 as From<NonZeroU64>>
            and 8 others
    = note: required because of the requirements on the impl of `Into<u64>` for `usize`   

see also: wasmerio/wasmer#2749

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

1 participant