From cbbdc7e750eff2272fff6eeaec1a1a2379cc6176 Mon Sep 17 00:00:00 2001 From: Tim Newsome Date: Sat, 8 Jan 2022 11:54:31 -0800 Subject: [PATCH] Add --features="alloc" to run demo Without that, I got the following error from cargo: ``` error: target `demo` in package `lvgl` requires the features: `alloc` Consider enabling them by passing, e.g., `--features="alloc"` ``` --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 355d2a9..11fcb1d 100644 --- a/README.md +++ b/README.md @@ -86,7 +86,7 @@ $ git submodule update Then run the `demo` example: ```shell -$ DEP_LV_CONFIG_PATH=`pwd`/examples/include cargo run --example demo +$ DEP_LV_CONFIG_PATH=`pwd`/examples/include cargo run --example demo --features="alloc" ``` ## Feature Support