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

0.7.0 fails to build for iOS target #66

Open
roustem opened this issue Jun 19, 2020 · 1 comment
Open

0.7.0 fails to build for iOS target #66

roustem opened this issue Jun 19, 2020 · 1 comment

Comments

@roustem
Copy link

roustem commented Jun 19, 2020

 error[E0308]: mismatched types
    --> /Users/administrator/.cargo/registry/src/github.com-1ecc6299db9ec823/sys-info-0.7.0/lib.rs:618:22
     |
 618 | pub fn boottime() -> Result<timeval, Error> {
     |        --------      ^^^^^^^^^^^^^^^^^^^^^^ expected enum `std::result::Result`, found `()`
     |        |
     |        implicitly returns `()` as its body has no tail or `return` expression
     |
     = note:   expected enum `std::result::Result<libc::timeval, Error>`
             found unit type `()`
 error: aborting due to previous error
 For more information about this error, try `rustc --explain E0308`.
 error: could not compile `sys-info`.
 To learn more, run the command again with --verbose.
 warning: build failed, waiting for other jobs to finish...
 error: build failed
 make: *** [apple-ios-x86_64] Error 101
@FillZpp
Copy link
Owner

FillZpp commented Jun 22, 2020

@roustem It has not supported for IOS yet.

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