Skip to content

fix build on 32bit architectures#329

Open
jannic wants to merge 1 commit intoerickt:masterfrom
jannic:fix-32bit-build
Open

fix build on 32bit architectures#329
jannic wants to merge 1 commit intoerickt:masterfrom
jannic:fix-32bit-build

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