Skip to content

Commit 351ab09

Browse files
committed
Alex's review
Signed-off-by: Miguel Ojeda <[email protected]>
1 parent 40cbc3f commit 351ab09

File tree

3 files changed

+5
-1
lines changed

3 files changed

+5
-1
lines changed

Documentation/rust/quick-start.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ This document describes how to get started with Rust kernel development.
88
Requirements
99
------------
1010

11-
A nightly Rust toolchain (at least ``rustc``, ``cargo`` and ``rustfmt``) is required. In the future, this restriction will be lifted. If you are using ``rustup``, run::
11+
A recent nightly Rust toolchain (at least ``rustc``, ``cargo`` and ``rustfmt``) is required, e.g. `nightly-2020-08-27`. In the future, this restriction will be lifted. If you are using ``rustup``, run::
1212

1313
rustup toolchain install nightly
1414

rust/kernel/src/filesystem.rs

+2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
// SPDX-License-Identifier: GPL-2.0
22

3+
// TODO: `filesystem` is really incomplete -- deletion to be considered
4+
35
use alloc::boxed::Box;
46
use core::default::Default;
57
use core::marker;

rust/kernel/src/lib.rs

+2
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,8 @@ macro_rules! kernel_module {
5151
($module:ty, $($name:ident : $value:expr),*) => {
5252
static mut __MOD: Option<$module> = None;
5353

54+
// Built-in modules are initialized through an initcall pointer
55+
//
5456
// TODO: find a proper way to emulate the C macro, including
5557
// dealing with `HAVE_ARCH_PREL32_RELOCATIONS`
5658
#[cfg(not(module))]

0 commit comments

Comments
 (0)