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

Add easy musl #301

Merged
merged 5 commits into from
Nov 5, 2023
Merged

Add easy musl #301

merged 5 commits into from
Nov 5, 2023

Conversation

zhfish
Copy link
Contributor

@zhfish zhfish commented Oct 29, 2023

I added dependencies to Cargo, ensuring that OpenSSL is correctly included with features during the compilation of musl, eliminating the need to separately handle OpenSSL for musl. We still find musl necessary because handling dependencies can be quite challenging.
#300

add openssl's features for musl
@rapiz1
Copy link
Owner

rapiz1 commented Oct 29, 2023

Not sure it's the right thing to do. Vendored openssl has various drawbacks e.g. it can't respect the system root certificate, and it doesn't get updated so it's not as secure. Also I wonder if this impact binary size

@zhfish
Copy link
Contributor Author

zhfish commented Oct 29, 2023

My system is Rocky8, and the Glib version is 2.28, which is very inconvenient to upgrade. Although the size of the binary file has been increased, I believe it is well worth it

@rapiz1
Copy link
Owner

rapiz1 commented Nov 1, 2023

In that case, can you try only vendor openssl for musl release?

@zhfish
Copy link
Contributor Author

zhfish commented Nov 2, 2023

You're right. I've made the modifications, enabling vendor dependencies exclusively for musl compilation.

@rapiz1 rapiz1 merged commit 65b27f0 into rapiz1:main Nov 5, 2023
5 checks passed
@Arnie97 Arnie97 mentioned this pull request Jun 5, 2024
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