Hi, I am attempting to port xv6 to rust. I found a strange observation in my code at https://github.com/ckkashyap/unix/blob/newrustfile/kernel/kernel.rs
The code as it is works as expected - prints out AB on the screen. However, as soon as I comment out lines 30 to 37, the kernel keeps rebooting. I also find that if the function kashyap has a parameter then the rebooting stops. Can someone please tell me if I am missing something here? Regards, Kashyap
_______________________________________________ Rust-dev mailing list Rust-dev@mozilla.org https://mail.mozilla.org/listinfo/rust-dev