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 cargo config with musl build target #903

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

Pytal
Copy link
Contributor

@Pytal Pytal commented Dec 14, 2021

Fix #460 by adding a cargo config that specifies the target x86_64-unknown-linux-musl so all builds in the root project directory will automatically target musl without needing the --target flag.

Fixes missing shared library errors like nextcloud/.github#27 (comment) as well

Also adds a note for the GitHub release

@ChristophWurst
Copy link
Owner

Would it make sense to have two separate builds?

@Pytal
Copy link
Contributor Author

Pytal commented Dec 14, 2021

Would it make sense to have two separate builds?

The statically linked binary works everywhere, but also providing the dynamic binary would give users more choice so yes can do 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.

Binary releases don't work with musl libc
2 participants