Hi All, I am working on translating the xv6 code to Rust - https://github.com/ckkashyap/unix. I am having trouble ascertaining if my linker script is correct and that the compiler flags that I am using for Rust are proper.
I have two unexplained observations as of now - 1. If I just have assembly code and Rust code, there is an issue that goes away if I have an intermediate C program. I introduced cmain.c just for this. 2. my code that iterates over &str does not work - in kernel/uart.rs I'd appreciate it very much if someone could take a stab at it and let me know where I am going wrong. Regards, Kashyap
_______________________________________________ Rust-dev mailing list Rust-dev@mozilla.org https://mail.mozilla.org/listinfo/rust-dev