Replies: 2 comments 3 replies
-
So if this risc V emulator https://github.com/cyrozap/rv51/blob/master/src/main.S can be re-written to target the 8086 cpu then we will have a Rust to 8086 "compiler". |
Beta Was this translation helpful? Give feedback.
3 replies
-
Otherwise, it looks like someone will need to solve the llvm issues for llvm to be a viable 8086/8087; 16-bit compiler. Get that out of the way and then work on 16-bitifying Rust. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Main thread:
https://www.reddit.com/r/rust/comments/zzqfn8/how_can_i_compile_rust_for_16bit_x86_intel_8086/
Some of the projects in the above thread:
https://github.com/Serentty/rusty-dos
https://github.com/cyrozap/rv51
You can run a Rust program on the rv51 https://github.com/cyrozap/rv51/tree/master/examples/rust by first compiling it to RISC-V and then executing through the rv51 emulator.
@ghaerr
@tkchia
Beta Was this translation helpful? Give feedback.
All reactions