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

Test against multiple stdlib implementations #224

Open
edsko opened this issue Oct 15, 2024 · 3 comments
Open

Test against multiple stdlib implementations #224

edsko opened this issue Oct 15, 2024 · 3 comments
Labels
enhancement New feature or request priority: low testing Improvements to the test suite

Comments

@edsko
Copy link
Collaborator

edsko commented Oct 15, 2024

As of #222 we only test against musl; the downside of this approach is that we are no longer testing hs-bindgen against different implementations of the C standard library, which is unfortunate. We may want to reconsider that aspect at some later stage.

@edsko edsko added the testing Improvements to the test suite label Oct 15, 2024
@edsko edsko added this to the 1: `Storable` instances milestone Oct 15, 2024
@phadej
Copy link
Collaborator

phadej commented Oct 15, 2024

It's relatively easy to add more libs. I didn't go for glibc, as then we probably need to separate tests into separate package so we don't distribute the glibc (even it its part of the tests).

@phadej
Copy link
Collaborator

phadej commented Oct 15, 2024

And e.g. netbsd libc is probably a good idea to add, as it's a) free, b) iirc not very large, c) about as wonky as macos

@edsko edsko added enhancement New feature or request priority: low labels Dec 20, 2024
@edsko
Copy link
Collaborator Author

edsko commented Dec 20, 2024

Might also be worth looking at multiple musl libraries (that is, generated for different architectures).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request priority: low testing Improvements to the test suite
Projects
None yet
Development

No branches or pull requests

2 participants