News for hackers. Stuff that matters.
Re:Rust on the MOS 6502: Beyond Fibonacci by emrk on Tuesday September 21, 2021 @01:09PM (#28607187)
Author of mentioned post on 6502.org forum here. In the meantime I worked a bit on implementing proper rust target-triple for 6502 (mos-unknown-none), code is here: https://github.com/mrk-its/rust/tree/mos_target

Then standard cargo tool may be used to directly build 6502 executable, some examples: https://github.com/mrk-its/a800-rust-test or https://github.com/mrk-its/llvm-mos-ferris-demo

Re:Rust on the MOS 6502: Beyond Fibonacci by gergoerdi on Wednesday September 22, 2021 @08:54AM (#28615748)
That's cool! I wanted to avoid having to build Rust and/or LLVM from source myself, hence the somewhat awkward "tell Cargo we're on default target, let Clang sort it out at link time" setup.