Skip to content

Commit

Permalink
Merge pull request #1168 from stillinbeta/patch-1
Browse files Browse the repository at this point in the history
Note about feature flags for uefi book
  • Loading branch information
nicholasbishop authored May 17, 2024
2 parents af7ae1d + 37eb5f5 commit 75ba438
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion book/src/tutorial/app.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,15 @@ cd my-uefi-app
Add a few dependencies:

```sh
cargo add log uefi
cargo add log
cargo add uefi --features logger,panic_handler
```

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" ] }
```

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

0 comments on commit 75ba438

Please sign in to comment.