We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5dc4386 commit b2ec5d5Copy full SHA for b2ec5d5
uefi/src/lib.rs
@@ -6,6 +6,26 @@
6
//! See the [Rust UEFI Book] for a tutorial, how-tos, and overviews of some
7
//! important UEFI concepts. For more details of UEFI, see the latest [UEFI
8
//! Specification][spec].
9
+//!
10
+//! # Minimal Example
11
12
+//! This is a minimal example for an UEFI image using functionality of the
13
+//! `uefi` crate.
14
15
+//! ```ignore
16
+//! #![no_main]
17
+//! #![no_std]
18
+//! use uefi::prelude::*;
19
20
+//! #[entry]
21
+//! fn main(_image_handle: Handle, _system_table: SystemTable<Boot>) -> Status {
22
+//! uefi::helpers::init().unwrap();
23
+//! println!("Hello world!");
24
+//! Status::SUCCESS
25
+//! }
26
+//! ```
27
28
+//! Please find more info in our [Rust UEFI Book].
29
//!
30
//! # Value-add and Use Cases
31
0 commit comments