Skip to content

Commit f5e08e5

Browse files
committed
Update rrt0 and remove the empty loop
- Allows the rrt0 start function to panic when main returns - Fixes undefined behavior - See: rust-lang/rust#28728
1 parent 2f447b4 commit f5e08e5

File tree

2 files changed

+4
-7
lines changed

2 files changed

+4
-7
lines changed

Cargo.lock

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

examples/hello-ipl3font/src/main.rs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,4 @@ fn main() {
1818

1919
ipl3font::draw_str_centered(WHITE, "Hello, world!");
2020
vi::swap_buffer();
21-
22-
#[allow(clippy::empty_loop)]
23-
loop {}
2421
}

0 commit comments

Comments
 (0)