We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cae41ba commit c9c17afCopy full SHA for c9c17af
uefi/src/lib.rs
@@ -6,6 +6,21 @@
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
+//! ```ignore
13
+//! #![no_main]
14
+//! #![no_std]
15
+//! use uefi::prelude::*;
16
17
+//! #[entry]
18
+//! fn main(_image_handle: Handle, _system_table: SystemTable<Boot>) -> Status {
19
+//! uefi::helpers::init().unwrap();
20
+//! println!("Hello world!");
21
+//! Status::SUCCESS
22
+//! }
23
+//! ```
24
//!
25
//! # Value-add and Use Cases
26
0 commit comments