You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Compiling cosmic-store v0.1.0 (.../cosmic-epoch/cosmic-store)
error[E0425]: cannot find function `malloc_trim` in crate `libc`
--> src/backend/mod.rs:95:19
|
95 | 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
error: Recipe `build-debug` failed on line 41 with exit code 101
error: Recipe `build` failed on line 23 with exit code 101
The text was updated successfully, but these errors were encountered:
I don't see anything in https://github.com/kornelski/xml-rs/issues, shouldn't this be reported to upstream with a reproducer so eventually malloc_trim could be dropped from here entirely?
https://github.com/pop-os/cosmic-store/blob/1e1b322/src/backend/mod.rs#L91-L99
Doesn't build if host system is using e.g. https://musl.libc.org:
The text was updated successfully, but these errors were encountered: