From bbb77e2f9b752316407c3d9466f7f0b3bac0af27 Mon Sep 17 00:00:00 2001 From: Philipp Oppermann Date: Mon, 25 Apr 2016 22:02:11 +0200 Subject: [PATCH] Link to a specific github revision (so that the line number won't change anymore) --- blog/post/2015-09-02-set-up-rust.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/blog/post/2015-09-02-set-up-rust.md b/blog/post/2015-09-02-set-up-rust.md index 1c38dcaf..fe5f3198 100644 --- a/blog/post/2015-09-02-set-up-rust.md +++ b/blog/post/2015-09-02-set-up-rust.md @@ -241,7 +241,7 @@ a.1 += 1; ``` When we add that code to `rust_main` and test it using `make run`, the OS will constantly reboot itself. Let's try to debug it. -[iter.rs:654]: https://doc.rust-lang.org/nightly/src/core/iter.rs.html#654 +[iter.rs:654]: https://github.com/rust-lang/rust/blob/b0ca03923359afc8df92a802b7cc1476a72fb2d0/src/libcore/iter.rs#L654 ### Debugging Such a boot loop is most likely caused by some [CPU exception][exception table]. When these exceptions aren't handled, a [Triple Fault] occurs and the processor resets itself. We can look at generated CPU interrupts/exceptions using QEMU: