Skip to content

Commit 37eb5f5

Browse files
stillinbetanicholasbishop
authored andcommitted
Note about feature flags for uefi book
1 parent af7ae1d commit 37eb5f5

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

book/src/tutorial/app.md

+9-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,15 @@ 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
21+
```
22+
23+
to your `Cargo.toml`. The resulting `Cargo.toml` should look like that:
24+
```toml
25+
[dependencies]
26+
log = "0.4.21"
27+
uefi = { version = "0.28.0", features = [ "panic_handler", "logger" ] }
2028
```
2129

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

0 commit comments

Comments
 (0)