Skip to content

Commit

Permalink
Update rrt0 and remove the empty loop
Browse files Browse the repository at this point in the history
- Allows the rrt0 start function to panic when main returns
- Fixes undefined behavior
- See: rust-lang/rust#28728
  • Loading branch information
parasyte committed Dec 28, 2020
1 parent 2f447b4 commit f5e08e5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 7 deletions.
8 changes: 4 additions & 4 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 0 additions & 3 deletions examples/hello-ipl3font/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,4 @@ fn main() {

ipl3font::draw_str_centered(WHITE, "Hello, world!");
vi::swap_buffer();

#[allow(clippy::empty_loop)]
loop {}
}

0 comments on commit f5e08e5

Please sign in to comment.