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 custom allocator feature #175

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

AlixANNERAUD
Copy link

This feature is necessary when LV_MEM_CUSTOM=1 because lv_deinit() is not defined in this scenario :

error[E0425]: cannot find function `lv_deinit` in crate `lvgl_sys`
    --> /home/alix_anneraud/.cargo/git/checkouts/lv_binding_rust-d86feb7597e107b7/9829aef/lvgl/src/lib.rs:103:23
     |
103  |             lvgl_sys::lv_deinit();
     |                       ^^^^^^^^^ help: a function with a similar name exists: `lv_init`
     |
    ::: /home/alix_anneraud/Git/Personnel/Xila/New-Code/target/debug/build/lvgl-sys-927f327e46b48320/out/bindings.rs:7701:5
     |
7701 |     pub fn lv_init();
     |     ---------------- similarly named function `lv_init` defined here

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

@AlixANNERAUD
Copy link
Author

CI still broken due to 3b3abb3.

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.

1 participant