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:
parent
56cb470dc8
commit
cbbdc7e750
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue