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 musl target for Linux build #232

Open
cireu opened this issue Jan 17, 2022 · 3 comments
Open

Use musl target for Linux build #232

cireu opened this issue Jan 17, 2022 · 3 comments
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed

Comments

@cireu
Copy link

cireu commented Jan 17, 2022

This enable more portability on Linux platform.

@cireu
Copy link
Author

cireu commented Jan 17, 2022

Looks that RocksDB cannot be built with MUSL C :(
rust-rocksdb/rust-rocksdb#174

@ysimonson
Copy link
Member

I don’t think we’d ever want to default to musl, but having support for it makes sense. Looks like there’s some workarounds for RocksDB. I wonder if it makes sense to have a docker image based off alpine with musl and whatever workarounds need to be employed.

@ysimonson ysimonson added good first issue Good for newcomers help wanted Extra attention is needed enhancement New feature or request labels Feb 10, 2022
@chocolacula
Copy link

chocolacula commented Oct 23, 2022

There is at least another one problem - proc-macro2 cannot be build and link statically as I know. So if you wanna use Apline seems you should use glibc workaround and avoid musl

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants