Issue building image for Azure IOT on STM32MP157C-DK2
I'm build an image for Azure IOT on STM32MP157C-DK2, following this tutorial: https://wiki.st.com/stm32mpu/wiki/How_to_integrate_Azure_IoT_Edge_on_OpenSTLinux
but I have follow error:
| error: attributes are not yet allowed on `if` expressions
| --> /usr/src/debug/iotedge-daemon/1.1.6-r0/iotedge-1.1.6/vendor/sysinfo/src/utils.rs:27:5
| |
| 27 | #[allow(clippy::identity_conversion)]
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
| error: aborting due to previous error
|
| error: could not compile `sysinfo`.
There is a possible solution?
Looking a similar issues, it seem a problem of version of Rust: https://github.com/Frederick888/git-credential-keepassxc/issues/12
There is a way to udate the Rust version used for build?
