* [rust-dev] Unable to understand the behaviour of the rust code
@ 2014-11-19 7:05 C K Kashyap
0 siblings, 0 replies; only message in thread
From: C K Kashyap @ 2014-11-19 7:05 UTC (permalink / raw)
To: rust-dev
[-- Attachment #1: Type: text/plain, Size: 459 bytes --]
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
[-- Attachment #2: Type: text/html, Size: 632 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2014-11-19 7:05 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-11-19 7:05 [rust-dev] Unable to understand the behaviour of the rust code C K Kashyap
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox