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

Fix Musl compatibilty (malloc_trim) #352

Closed
2 tasks done
bivsk opened this issue Aug 2, 2024 · 3 comments
Closed
2 tasks done

Fix Musl compatibilty (malloc_trim) #352

bivsk opened this issue Aug 2, 2024 · 3 comments

Comments

@bivsk
Copy link

bivsk commented Aug 2, 2024

Checklist

Bug description

the malloc_trim glibc extension is not available on musl, causing builds to fail. It would be nice to add support for musl systems.

error[E0425]: cannot find function `malloc_trim` in crate `libc`
   --> lact-daemon/src/server/handler.rs:144:19
    |
144 |             libc::malloc_trim(0);
    |                   ^^^^^^^^^^^ not found in `libc`

System info

- Distribution: Gentoo (musl)
@ilya-zlobintsev
Copy link
Owner

Please try the fix/musl branch, d59b04c should fix it.

@bivsk
Copy link
Author

bivsk commented Aug 5, 2024

Please try the fix/musl branch, d59b04c should fix it.

Looks all fixed on my end! thanks!

@ilya-zlobintsev
Copy link
Owner

Fixed in #353

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

2 participants