I'm curious what rust features require runtime support; there's some VTable and exception handling stuff we may have to do for C++, but I've got no idea how much is handled by rust's frontend.
I still need to figure out what already works and what doesn't - I'm planning to spent some time on that ...
Search found 3 matches
- Thu Jun 17, 2021 8:03 pm
- Forum: Programming
- Topic: LLVM 6502 Codegen
- Replies: 154
- Views: 43238
- Wed Jun 16, 2021 10:10 pm
- Forum: Programming
- Topic: LLVM 6502 Codegen
- Replies: 154
- Views: 43238
Re: LLVM 6502 Codegen
Good news also on rust frontend work :)
After my first experiment with rust + llvm-mos I decided to go a step further and try to add real mos target triple to rust. This should allow to use standard rust tools (like cargo) to build some no_std programs. Creating mos-unknown-none triplet was quite ...
After my first experiment with rust + llvm-mos I decided to go a step further and try to add real mos target triple to rust. This should allow to use standard rust tools (like cargo) to build some no_std programs. Creating mos-unknown-none triplet was quite ...
- Wed May 26, 2021 10:27 pm
- Forum: Programming
- Topic: LLVM 6502 Codegen
- Replies: 154
- Views: 43238
Re: LLVM 6502 Codegen
We'll probably get some degree of C++ support "for free"
Even more: thanks to your amazing work I was able to compile first ever Rust program for 6502 and test it on Atari!
To reproduce you need working rustc, llvm-mos and llvm-mos-sdk. Create following files:
factorial.rs
#![no_std]
#[no ...
Even more: thanks to your amazing work I was able to compile first ever Rust program for 6502 and test it on Atari!
To reproduce you need working rustc, llvm-mos and llvm-mos-sdk. Create following files:
factorial.rs
#![no_std]
#[no ...