Closed MabezDev closed 6 years ago
Are you using the latest version of cortex-m-semihosting? Check your Cargo.lock file; if not, run cargo update
. Earlier versions suffer from this LLD bug.
Good call, updating cortex-m to 5.6 fixed the issue. Thanks
After changing my project to use lld, the semi hosting calls don't go through it hangs on the
__syscall(_nr, _arg)
inlib.rs:150
. I switched back to gcc to confirm they still work.Flags for rust-lld
Flags for GCC
Edit:
I should mention I am only using panic-semihosting, I haven't tested normal semihosting yet.