How to user Rust programs in ARM keil project

Hi,
I want to use rust library in keil C/C++ project, how can i do that ?

i have tried by several ways but unable to do that. Any Suggestion or advice ??

Has anyone tried to use rust libraries or any rust file in ARM Keil ???????
I tried by creating the object file but didn't get success.

When i added the rust object file into ARM Keil project and build the project then got the linker error saying that - object file format is not compatible.

on Windows : Rust object file format is COFF ( By using "rustc test.rs emit= obj" command)

But Keil linker supports only ELF formatted file.

So how can i overcome from this kind of problem OR is there any way to covert the object file format from COFF to ELF ????????

1 Like