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

Compile error for android target #4

Closed
Gamadril opened this issue Jan 17, 2021 · 2 comments
Closed

Compile error for android target #4

Gamadril opened this issue Jan 17, 2021 · 2 comments

Comments

@Gamadril
Copy link

I get compilation errors when uds is compiled for android (arm, NDK 22).

error[E0308]: mismatched types
  --> /Users/test/.cargo/registry/src/github.com-1ecc6299db9ec823/uds-0.2.1/src/ancillary.rs:90:30
   |
90 |         msg.msg_controllen = needed_capacity as ControlLen;
   |                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `usize`, found `i32`
@Gamadril Gamadril changed the title Compile error on android Compile error for android target Jan 17, 2021
@tormol
Copy link
Owner

tormol commented Jan 18, 2021

Thanks for reporting this.
I haven't tested it on android, but I'll add cross-checking for it to CI.

@tormol tormol closed this as completed in cd90202 Jan 19, 2021
@tormol
Copy link
Owner

tormol commented Jan 31, 2021

The fix is now released in version 0.2.2.

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