Skip to content

Commit

Permalink
remove unneeded panic flag
Browse files Browse the repository at this point in the history
  • Loading branch information
stillinbeta authored May 17, 2024
1 parent c828e81 commit 3036472
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions book/src/tutorial/app.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,19 +20,11 @@ cargo add log
cargo add uefi --features logger panic_handler
```

Also you have to add
```toml
[profile.dev]
panic="abort"
```
to your `Cargo.toml`. The resulting `Cargo.toml` should look like that:
```toml
[dependencies]
log = "0.4.21"
uefi = { version = "0.28.0", features = [ "panic_handler", "logger" ] }

[profile.dev]
panic="abort"
```

Replace the contents of `src/main.rs` with this:
Expand Down

0 comments on commit 3036472

Please sign in to comment.