Skip to content

Commit ebb82a8

Browse files
committed
Update docs and fix some warnings
1 parent fd1d39f commit ebb82a8

File tree

5 files changed

+8
-3
lines changed

5 files changed

+8
-3
lines changed

.gitignore

+3
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,5 @@
1+
# Cargo places all built files here.
12
/target/
3+
4+
# Libraries should not commit their .lock files.
25
Cargo.lock

src/lib.rs

+2-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,8 @@
3030

3131
#![no_std]
3232

33-
#![warn(missing_docs)]
33+
// Enable some additional warnings and lints.
34+
#![warn(missing_docs, unused)]
3435
#![cfg_attr(feature = "cargo-clippy", warn(clippy))]
3536

3637
#[macro_use]

src/proto/console/pointer/mod.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ use core::mem;
77
pub struct Pointer {
88
reset: extern "C" fn(this: &mut Pointer, ext_verif: bool) -> Status,
99
get_state: extern "C" fn(this: &Pointer, state: &mut PointerState) -> Status,
10-
wait_for_input: usize,
10+
_wait_for_input: usize,
1111
mode: &'static PointerMode,
1212
}
1313

src/proto/debug/mod.rs

+1
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
//!
1010
//! [udk]: https://firmware.intel.com/develop/intel-uefi-tools-and-utilities/intel-uefi-development-kit-debugger-tool
1111
12+
/// The debugging support protocol allows debuggers to connect to a UEFI machine.
1213
#[repr(C)]
1314
pub struct DebugSupport {
1415
isa: ProcessorArch,

uefi-test-runner/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
Besides all the requirements for building a UEFI app, you will also need:
44

55
- [QEMU](https://www.qemu.org/): the most recent version of QEMU is recommended.
6-
- [Python 3](https://www.python.org)
6+
- [Python 3](https://www.python.org): at least version 3.6 is required.
77
- [OVMF](https://github.com/tianocore/tianocore.github.io/wiki/OVMF):
88
You need to extract `OVMF_CODE.fd` and `OVMF_VARS.fd` to the same directory as the `build.py` file.
99
Alternatively, install OVMF using your distro's package manager and change the paths in the script file.

0 commit comments

Comments
 (0)