Skip to content

Commit 7bd40b9

Browse files
authored
Merge pull request #1353 from nicholasbishop/bishop-example-compile
uefi: Fix compilation of minimal example
2 parents a5d83c0 + 9aa5ed7 commit 7bd40b9

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

uefi/src/lib.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
//! Minimal example for an UEFI application using functionality of the
1313
//! `uefi` crate:
1414
//!
15-
//! ```ignore
15+
//! ```no_run
1616
//! #![no_main]
1717
//! #![no_std]
1818
//!
@@ -24,6 +24,7 @@
2424
//!
2525
//! Status::SUCCESS
2626
//! }
27+
//! # extern crate std;
2728
//! ```
2829
//!
2930
//! Please find more info in our [Rust UEFI Book].

0 commit comments

Comments
 (0)