BareMetal-OS-legacy icon indicating copy to clipboard operation
BareMetal-OS-legacy copied to clipboard

BareMetal Rust PoC

Open Roxxik opened this issue 9 years ago • 4 comments

just take a look https://github.com/Roxxik/Hello-BareMetal-Rust i try and improve this further to get arbitary rust code running

Roxxik avatar Jul 07 '15 02:07 Roxxik

Slick! I haven't had a chance to try it but looks good. Does Rust support inline assembly?

IanSeyler avatar Jul 13 '15 20:07 IanSeyler

Yes it does.

benaryorg avatar Jul 13 '15 20:07 benaryorg

I chose to not include rust inline assembly, because currently it is unstable, undocumented and not conformant to gcc inline assembly. That's why i have included a c layer to make the systemcalls.

(I tried to use it but the rust compiler always optimized the assembler away :( )

Roxxik avatar Jul 13 '15 22:07 Roxxik

@IanSeyler here, have some inline assembly.

benaryorg avatar Jul 14 '15 21:07 benaryorg