I'm coding a library for my no_std
environment, and it includes global_asm!
.
When I compile it with cargo build --release
, emitted .rlib
file includes those assembly and the symbols.
When I use it other binary crates, however, the compiler tells me there is no symbol I declared in global_asm!
.
What's the problem?
I was wrong. Just forgot .global <func_name>
in assembly.
This topic was automatically closed 90 days after the last reply. We invite you to open a new topic if you have further questions or comments.