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 on 32bit architectures #329

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

jannic
Copy link

@jannic jannic commented Nov 24, 2020

Some ffi tests depend on the pointer size. Added a variant for 32bit
architectures.

The conditional build for 32bit architectures is intentionally done on
not(target_pointer_width = "64") so the test is not silently skipped
on architectures with other pointer sizes. In case somebody really wants
to use zmq-sys on 16 bit architectures, the test will fail and another
variant for that pointer size would have to be added.

Some ffi tests depend on the pointer size. Added a variant for 32bit
architectures.

The conditional build for 32bit architectures is intentionally done on
`not(target_pointer_width = "64")` so the test is not silently skipped
on architectures with other pointer sizes. In case somebody really wants
to use zmq-sys on 16 bit architectures, the test will fail and another
variant for that pointer size would have to be added.
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