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

psa-crypto-sys test fail on i686 #41

Closed
nullr0ute opened this issue Jul 16, 2020 · 4 comments · Fixed by #42
Closed

psa-crypto-sys test fail on i686 #41

nullr0ute opened this issue Jul 16, 2020 · 4 comments · Fixed by #42
Labels
bug Something isn't working

Comments

@nullr0ute
Copy link
Contributor

One of the tests fails when run on i686:

failures:
---- psa_crypto_binding::bindgen_test_layout_max_align_t stdout ----
thread 'psa_crypto_binding::bindgen_test_layout_max_align_t' panicked at 'assertion failed: `(left == right)`
  left: `16`,
 right: `24`: Size of: max_align_t', /builddir/build/BUILD/psa-crypto-sys-0.3.0/target/release/build/psa-crypto-sys-59266dd2c6e5c562/out/shim_bindings.rs:3:22153
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
failures:
    psa_crypto_binding::bindgen_test_layout_max_align_t
test result: FAILED. 52 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out
@hug-dev
Copy link
Member

hug-dev commented Jul 16, 2020

Hello!

Thanks for reporting this! This seems to be a test generated by bindgen, after a quick google I have found a similar case here where they blocklisted the type.

I guess we could it as well as we do not need it?

@hug-dev hug-dev added the bug Something isn't working label Jul 16, 2020
@nullr0ute
Copy link
Contributor Author

It passes on aarch64/x86_64/ppc64le/armv7. If the functionality isn't used I suspect blocking it is likely the best option.

@hug-dev hug-dev linked a pull request Jul 17, 2020 that will close this issue
@hug-dev
Copy link
Member

hug-dev commented Jul 17, 2020

@joechrisellis fixed this, it should work now 💯

@hug-dev
Copy link
Member

hug-dev commented Jul 17, 2020

Would you like us to do a patch release?

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