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
If you create an AVR project using cargo generate --git https://github.com/Rahix/avr-hal-template.git and add a dependency on heapless (0.7.16) compilation triggers an error
error: cannot find macro `llvm_asm` in this scope
--> /home/thoth/.cargo/registry/src/github.com-1ecc6299db9ec823/critical-section-0.2.7/src/lib.rs:127:13
|
127 | llvm_asm!(
| ^^^^^^^^
This is because heapless depends on atomic-polyfill v0.1.10 which depends on critical-section v0.2.7 which uses the obsolete llvm_asm! macro.
Upgrading heapless to use atomic-polyfill 1.0.0 or later resolves this issue.
The text was updated successfully, but these errors were encountered:
Hey, sorry to bother, but is there anything specific preventing a new release being created? It would be great to have this fixed so that downstream projects can benefit.
If you create an AVR project using
cargo generate --git https://github.com/Rahix/avr-hal-template.git
and add a dependency on heapless (0.7.16) compilation triggers an errorThis is because heapless depends on atomic-polyfill v0.1.10 which depends on critical-section v0.2.7 which uses the obsolete
llvm_asm!
macro.Upgrading heapless to use atomic-polyfill 1.0.0 or later resolves this issue.
The text was updated successfully, but these errors were encountered: