You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I can compile my application (thumbv7em-none-eabihf) directly against heapless and it works fine.
But in this case I have a library (e.g. device driver) that depends on heapless and it won't detect the arm_llsc platform correctly.
As a workaround I have copied build.rs into my library. This does work but feels a bit hacky.
Is there a cleaner way for a library to depend on features like heapless::pool that require a specific platform such as arm_llsc ?Maybe the arm_llsc detection can be exposed as a helper or separate crate? Or via some feature flag?
The text was updated successfully, but these errors were encountered:
I can compile my application (thumbv7em-none-eabihf) directly against heapless and it works fine.
But in this case I have a library (e.g. device driver) that depends on heapless and it won't detect the
arm_llsc
platform correctly.As a workaround I have copied build.rs into my library. This does work but feels a bit hacky.
Is there a cleaner way for a library to depend on features like
heapless::pool
that require a specific platform such asarm_llsc
?Maybe thearm_llsc
detection can be exposed as a helper or separate crate? Or via some feature flag?The text was updated successfully, but these errors were encountered: