You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In examples/hello.rs, make sure the debug::exit() call is commented out or removed. It is used only for running in QEMU.
but later on in the page it says :
Advancing the program with next should produce the same results as before.
(gdb) next
16 writeln!(stdout, "Hello, world!").unwrap();
(gdb) next
19 debug::exit(debug::EXIT_SUCCESS);
Which doesnt make sense to me if you removed it?
I will also add that when removing the debug line you will also need to remove the import of debug as well or it wont load onto the board. Ill be happy to submit a PR if you let me know which way is correct.
The text was updated successfully, but these errors were encountered:
in https://github.com/rust-embedded/book/blob/7349d173fa28a0bb834cf0264a05286620ef0923/src/start/hardware.md
is says :
but later on in the page it says :
Which doesnt make sense to me if you removed it?
I will also add that when removing the debug line you will also need to remove the import of debug as well or it wont load onto the board. Ill be happy to submit a PR if you let me know which way is correct.
The text was updated successfully, but these errors were encountered: