Remove dependency on alloc crate #23
No reviewers
Labels
No labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: rafaelcaricio/lvgl-rs#23
Loading…
Reference in a new issue
No description provided.
Delete branch "no-alloc"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This PR removes the dependency on the
alloc
crate. This makes it possible to uselvgl-rs
in Rust stable. How was the dependency onalloc
removed? We leveraged the memory management mechanism built-in the LVGL library. On the Rust side, all memory is either on the stack or static. This makes #16 outdated, sincelvgl-rs
don't need any allocator to be defined.Closes #16