Warning
This post was published 114 days ago. The information described in this article may have changed.
Hi,
I have written a proc_macro (which makes use of std
) and am currently trying to compile some code that uses this macro.
However I get a bunch of errors when trying to compile for thumbv6m-none-eabi
, it looks like this is because it does not have support for std.
My confusion comes from the fact that this toy example which uses the macro is completely no_std
, only the macro makes use of std
.
Am I compiling this incorrectly or is it not possible to compile for some target (that does not have support for std
) while some macro code depends on std
?
1 post - 1 participant
🏷️ rust_feed