From f0c5326b194eacbf3597733b30d39a23ace8d979 Mon Sep 17 00:00:00 2001 From: Philipp Oppermann Date: Wed, 17 Apr 2019 19:00:10 +0200 Subject: [PATCH] Rename section --- blog/content/second-edition/posts/04-testing/index.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/blog/content/second-edition/posts/04-testing/index.md b/blog/content/second-edition/posts/04-testing/index.md index ba8ea7fa..a150e487 100644 --- a/blog/content/second-edition/posts/04-testing/index.md +++ b/blog/content/second-edition/posts/04-testing/index.md @@ -375,9 +375,9 @@ TODO image Note that it's no longer possible to exit QEMU from the console through `Ctrl+c` when `serial mon:stdio` is passed. An alternative keyboard shortcut is `Ctrl+a` and then `x`. Or you can just close the QEMU window manually. -### Exit QEMU on Panic +### Print a Error Message on Panic -To also exit QEMU on a panic, we can use [conditional compilation] to use a different panic handler in testing mode: +To exit QEMU with an error message on a panic, we can use [conditional compilation] to use a different panic handler in testing mode: [conditional compilation]: https://doc.rust-lang.org/1.30.0/book/first-edition/conditional-compilation.html