From 2335398b704e1fb2fa561f7dd115f89c69c58bb7 Mon Sep 17 00:00:00 2001 From: Tianhao Wang Date: Thu, 30 May 2024 09:37:57 +0200 Subject: mm: add basic paging infra from x86_64 crate the x86_64 crate is pretty solid and has a permissive license (Apache/MIT), but I want to make this myself in the future to "experience" the unsafe rust further....Also it has too many abstractions, which is justified as a library, but not ideal for a from sctrach toy OS as it hides the lower end. Signed-off-by: Tianhao Wang --- src/lib.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'src/lib.rs') diff --git a/src/lib.rs b/src/lib.rs index 0eb1c7d..8b561ce 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -2,6 +2,7 @@ #![allow(unused_imports)] #![no_std] #![no_main] +#![feature(const_option)] mod arch; mod defs; mod ds; -- cgit v1.2.3-70-g09d2