Skip to content

Commit 4271938

Browse files
committed
refactor: move allocator into os::none module
Signed-off-by: Martin Kröning <martin.kroening@eonerc.rwth-aachen.de>
1 parent a7a71e0 commit 4271938

File tree

5 files changed

+1
-2
lines changed

5 files changed

+1
-2
lines changed

src/main.rs

-2
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,6 @@
88
#[macro_use]
99
mod macros;
1010

11-
#[cfg(target_os = "none")]
12-
mod allocator;
1311
mod arch;
1412
mod log;
1513
mod os;
File renamed without changes.
File renamed without changes.
File renamed without changes.

src/os/none/mod.rs

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
mod allocator;
12
mod console;
23

34
use core::fmt::Write;

0 commit comments

Comments
 (0)