I maintain a port of Rust that adds support for the 8-bit AVR microcontroller (which features 16-bit pointers).
Several modifications had to be made (including modifying build system to build a minimised set of stage2 libraries - only
The biggest change in the Rust codebase however was adding support in the compiler and libraries for 16-bit pointers. I posit that this patch could be useful to others hacking in Rust, notably those porting Rust to others architectures like myself.
What is everybody’s thoughts around having this patch pushed upstream? It is about 100 lines of code, mostly adding constants and match arms which are missing.