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

Fix build for ARM #334

Closed
realtica opened this issue Nov 3, 2021 · 2 comments · Fixed by #339
Closed

Fix build for ARM #334

realtica opened this issue Nov 3, 2021 · 2 comments · Fixed by #339
Assignees
Labels
bug Something isn't working
Milestone

Comments

@realtica
Copy link

realtica commented Nov 3, 2021

OS: Debian GNU/Linux 10 (buster) aarch64

cargo 1.56.0 (4ed5d137b 2021-10-04)

error[E0308]: mismatched types
  --> packages/hurl/src/runner/xpath.rs:97:45
   |
97 |             let x = unsafe { CStr::from_ptr(c_s2) };
   |                                             ^^^^ expected `u8`, found `i8`
   |
   = note: expected raw pointer `*const u8`
              found raw pointer `*const i8`

For more information about this error, try `rustc --explain E0308`.
error: could not compile `hurl` due to previous error
warning: build failed, waiting for other jobs to finish...
error: build failed

Please I do know what happened.

@fabricereix
Copy link
Collaborator

fabricereix commented Nov 4, 2021

Thanks for reporting the issue.
We haven't built/tested Hurl on ARM architecture yet. We are going to look into it

@fabricereix
Copy link
Collaborator

We have reproduced the error.
We are going to add a ARM-specific CI build (#335)

@fabricereix fabricereix added the bug Something isn't working label Nov 4, 2021
@fabricereix fabricereix added this to the 1.5.0 milestone Nov 4, 2021
@fabricereix fabricereix linked a pull request Nov 5, 2021 that will close this issue
@fabricereix fabricereix changed the title cargo build fails Fix build for ARM Dec 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants