std build-dependencies #7

Closed
opened 2020-05-16 07:45:14 +00:00 by sajattack · 4 comments
sajattack commented 2020-05-16 07:45:14 +00:00 (Migrated from github.com)

I'm trying to test this out on an embedded target and it's pulling in std due to the build dependencies. How is it supposed to work?

I'm trying to test this out on an embedded target and it's pulling in std due to the build dependencies. How is it supposed to work?
sajattack commented 2020-05-16 07:46:21 +00:00 (Migrated from github.com)

Maybe the problem is I'm using xargo? Not sure.

Maybe the problem is I'm using xargo? Not sure.
rafaelcaricio commented 2020-05-16 16:19:50 +00:00 (Migrated from github.com)

@sajattack I'm happy you are interested in lvgl-rs. I have to tell you that this library is not ready. It is in very early stage of development. Barely any code was wrote to it so far. I would need help of contributors like yourself to find out how to solve issues like the one you are having. I have personally not tested this crate in a device yet, though I do not use any std in the code.

@sajattack I'm happy you are interested in lvgl-rs. I have to tell you that this library is not ready. It is in very early stage of development. Barely any code was wrote to it so far. I would need help of contributors like yourself to find out how to solve issues like the one you are having. I have personally not tested this crate in a device yet, though I do not use any [`std`](https://github.com/rafaelcaricio/lvgl-rs/blob/master/lvgl/src/lib.rs#L1) in the code.
sajattack commented 2020-05-16 18:16:17 +00:00 (Migrated from github.com)
https://github.com/rust-lang/cargo/issues/4866
sajattack commented 2020-05-16 18:20:33 +00:00 (Migrated from github.com)

The resolution is to add -Zfeatures=itarget,build_dep when compiling.

The resolution is to add `-Zfeatures=itarget,build_dep` when compiling.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: rafaelcaricio/lvgl-rs#7
No description provided.