From 98ae8e0cede53a9f1ff3fae0b3c5a256ea93ba2a Mon Sep 17 00:00:00 2001 From: Rafael Caricio Date: Fri, 19 Jun 2020 14:47:52 +0200 Subject: [PATCH] Update readme to remove alloc reference --- README.md | 7 ------- 1 file changed, 7 deletions(-) diff --git a/README.md b/README.md index 2513cdd..c6d7f07 100644 --- a/README.md +++ b/README.md @@ -45,13 +45,6 @@ for `no_std`, so we need to use a workaround to build "lvgl-rs". The mainstrem i $ DEP_LV_CONFIG_PATH=`pwd` cargo build -Zfeatures=build_dep ``` -#### Requirements / Limitations - -LittlevGL C libary do allocate memory dynamically and we need to allocate memory on the heap in the Rust side as well -([`Box`](https://doc.rust-lang.org/beta/alloc/boxed/struct.Box.html)). -That is required, so we can safely provide Rust pointers through FFI. For that reason, we do require -[`alloc`](https://doc.rust-lang.org/alloc/) module to be available. - ## Running the demo [This project contains examples that can run in a desktop simulator.](./examples)