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 static OpenSSL for tests #78

Merged
merged 1 commit into from
Feb 27, 2021
Merged

Conversation

blyxxyz
Copy link
Collaborator

@blyxxyz blyxxyz commented Feb 27, 2021

curl-rust turns out to have a feature for building with a bundled statically linked OpenSSL. That solves some of the problems we had in #75.

The integration tests don't work on ARM, possibly because of some QEMU limitation. So I've gated those behind a default feature. The other tests do work.

Copy link
Owner

@ducaale ducaale left a comment

Choose a reason for hiding this comment

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

LGTM

@ducaale ducaale merged commit f02c8b9 into ducaale:develop Feb 27, 2021
@blyxxyz blyxxyz deleted the static-openssl branch February 27, 2021 17:42
@ducaale
Copy link
Owner

ducaale commented Feb 27, 2021

I just remembered coming across this thread sagebind/isahc#68 (comment) which recommends using mesalink feature in curl as an alternative solution. What do you think?

@blyxxyz
Copy link
Collaborator Author

blyxxyz commented Feb 27, 2021

Aha, that looks even better. Gives us less C code to compile.

@blyxxyz
Copy link
Collaborator Author

blyxxyz commented Feb 27, 2021

Apparently it still depends on OpenSSL if you enable the mesalink feature: https://github.com/blyxxyz/xh/runs/1995068209?check_suite_focus=true

static-ssl works, so let's stick with that.

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.

2 participants