If you figure this out let me know, or the mailing list. I am curious what
is wrong.
The only help I can offer is that you try to find the problem. It may or
may not be an illegal instruction. Some rust targets trap segmentation
faults as illegal instruction.
Now you can also try implementing your own _start as pub extern and not
link with rust or system libs -- essentially free standing then insert an
infinite loop and see if the program crashes. The OS should jump directly
to _start so you see?
I am not sure how on linux but if you could get it to dump the address of
the instruction you could use that to figure out what is wrong.
Also I assume you have tried a simple fn main() {} ?
_______________________________________________
Rust-dev mailing list
[email protected]
https://mail.mozilla.org/listinfo/rust-dev