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

Android termux aarch64 error #86

Open
bitraft opened this issue Jun 28, 2019 · 0 comments
Open

Android termux aarch64 error #86

bitraft opened this issue Jun 28, 2019 · 0 comments

Comments

@bitraft
Copy link

bitraft commented Jun 28, 2019

Try build webrender on android termux aarch64, get this error:

cargo build --lib
   Compiling net2 v0.2.32
   Compiling unicode-bidi v0.3.4
   Compiling num-iter v0.1.37
   Compiling block-padding v0.1.2
   Compiling num-derive v0.2.3
   Compiling rand_os v0.1.3
   Compiling num-rational v0.2.1
   Compiling inflate v0.4.2
   Compiling deflate v0.7.18
error[E0308]: mismatched types
  --> /data/data/com.termux/files/home/.cargo/registry/src/github.com-1ecc6299db9ec823/net2-0.2.32/src/socket.rs:40:51
   |
40 |             ::cvt(c::bind(self.inner.raw(), addr, len as len_t)).map(|_| ())
   |                                                   ^^^^^^^^^^^^ expected u32, found i32

   Compiling base64 v0.10.0
   Compiling fxhash v0.2.1
error: aborting due to previous error

For more information about this error, try `rustc --explain E0308`.
error: Could not compile `net2`.
warning: build failed, waiting for other jobs to finish...
error: build failed
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