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"`
```
This commit is contained in:
Tim Newsome 2022-01-08 11:54:31 -08:00 committed by Rafael Carício
parent 56cb470dc8
commit cbbdc7e750

View file

@ -86,7 +86,7 @@ $ git submodule update
Then run the `demo` example: Then run the `demo` example:
```shell ```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 ## Feature Support