Skip to content

Commit c828e81

Browse files
Apply suggestions from code review
Co-authored-by: Philipp Schuster <[email protected]>
1 parent 60fbc6b commit c828e81

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

book/src/tutorial/app.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,16 @@ cd my-uefi-app
1616
Add a few dependencies:
1717

1818
```sh
19-
cargo add log uefi
19+
cargo add log
20+
cargo add uefi --features logger panic_handler
2021
```
2122

22-
You'll need to add some feature flags and configuration to Cargo.toml as well:
23+
Also you have to add
24+
```toml
25+
[profile.dev]
26+
panic="abort"
27+
```
28+
to your `Cargo.toml`. The resulting `Cargo.toml` should look like that:
2329
```toml
2430
[dependencies]
2531
log = "0.4.21"

0 commit comments

Comments
 (0)