aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/main.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/main.rs b/src/main.rs
index 85be21c..0b0ff19 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -51,6 +51,9 @@ macro_rules! log_raw {
macro_rules! halt {
() => {
+ thread::park();
+
+ // Just in case. Still better than panicking.
loop {
thread::sleep(Duration::MAX);
}