Skip to content

Test: Fix solarish_tap test on big-endian targets#2743

Open
joshuaissac wants to merge 2 commits intonix-rust:masterfrom
joshuaissac:fix-solarish-tap
Open

Test: Fix solarish_tap test on big-endian targets#2743
joshuaissac wants to merge 2 commits intonix-rust:masterfrom
joshuaissac:fix-solarish-tap

Conversation

@joshuaissac
Copy link

What does this PR do

This change corrects the solarish_tap test on big-endian Solaris targets.

The two changes are to populate multi-byte numbers in the byte array using the native endianness (previous code assumed little-endianness), and to use a buffer that guarantees the required alignment when taking a pointer to it (previous code guaranteed only 1-byte alignment).

Tested on Solaris 11.4 (SPARC 64-bit).

Checklist:

  • I have read CONTRIBUTING.md
  • I have written necessary tests and rustdoc comments
  • A change log has been added if this PR modifies nix's API

* patch to correct solarish_tap test for big-endian

* changelog
@joshuaissac
Copy link
Author

Check i686-unknown-linux-musl failing due to unrelated reason:

docker: failed to copy: httpReadSeeker: failed open: failed to do request: Get "https://ghcr.io/v2/cross-rs/i686-unknown-linux-musl/blobs/sha256:8db86b1b7e4e0172fc34ed0a051c46a56ff9d90065ea000c332b2442e012af82": EOF

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.

1 participant

Comments