Skip to content

Android termux aarch64 error #86

@bitraft

Description

@bitraft

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions