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

[Bug] Build failure on musl #215

Open
vadorovsky opened this issue Dec 5, 2024 · 0 comments
Open

[Bug] Build failure on musl #215

vadorovsky opened this issue Dec 5, 2024 · 0 comments

Comments

@vadorovsky
Copy link

error[E0425]: cannot find function `malloc_trim` in crate `libc`
   --> src/backend/mod.rs:115:19
    |
115 |             libc::malloc_trim(0);
    |                   ^^^^^^^^^^^ not found in `libc`

For more information about this error, try `rustc --explain E0425`.
error: could not compile `cosmic-store` (bin "cosmic-store") due to 1 previous error

malloc_trim is a GNU extension not available on musl. I'll think of an alternative and come back with a PR.

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

No branches or pull requests

1 participant