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

Use correct flag on big endian machines. #64

Merged
merged 1 commit into from
Aug 31, 2018

Conversation

mpapierski
Copy link
Contributor

This will fix tests::sign test case on mips/mips64. Verified with
cross1 tool.

cross test --target mips-unknown-linux-gnu
cross test --target mips64el-unknown-linux-gnuabi64

Unfortunately this fix doesn't make tests::test_debug_output test case
pass, but this is about debug output so its not as critical as this
patch. See #63 for a discussion.

This will fix `tests::sign` test case on mips/mips64. Verified with
`cross`[1] tool.

    cross test --target mips-unknown-linux-gnu
    cross test --target mips64el-unknown-linux-gnuabi64

Unfortunately this fix doesn't make `tests::test_debug_output` test case
pass, but this is about debug output so its not as critical as this
patch. See rust-bitcoin#63 for a discussion.

[1]: https://github.com/japaric/rust-cross
@apoelstra
Copy link
Member

Yeah, I'll change the Debug output to use a serialization function. (And for that matter add a Display impl that does the same thing.)

Copy link
Member

@apoelstra apoelstra left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

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

Successfully merging this pull request may close these issues.

None yet

2 participants