How to link a RUST static lib to exist C project on SPC584Cx, a Power Architecture Microcontroller unit

I'd like to rewrite some module with RUST in a C project on SPC584Cx, a Power Architecture Microcontroller unit. I build a lib.a with rustc, using build config: target="powerpc-unknown-linux-gnu"
rustflags = "-C panic=abort". Than I try to link .a to my origin project with mutil2000. The .hex file was successfully built, but when the system calling my function in lib.a (rust coded), the whole system dead.
Is there any available docs or instruction about running RUST static lib on SPC584Cx.Thanks a lot.

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.