aboutsummaryrefslogtreecommitdiff
path: root/src/mm/heap_allocator.rs
diff options
context:
space:
mode:
authorTianhao Wang <wth@riseup.net>2024-02-25 04:55:09 +0100
committerTianhao Wang <shrik3@mailbox.org>2024-06-11 15:13:38 +0200
commitdbefd9336cc808e76f8e9d8d238f5a348d14604a (patch)
treec373589d1492141da6caa1c0668f8cd3eeddac80 /src/mm/heap_allocator.rs
parent9f7d1bf474ac3e3b1c658bf2167afbf056e99c58 (diff)
add mm and ds modules (yet empty)
Diffstat (limited to 'src/mm/heap_allocator.rs')
-rw-r--r--src/mm/heap_allocator.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mm/heap_allocator.rs b/src/mm/heap_allocator.rs
new file mode 100644
index 0000000..5a7463d
--- /dev/null
+++ b/src/mm/heap_allocator.rs
@@ -0,0 +1,2 @@
+#![feature(global_allocator, allocator_api, heap_api)]
+struct HeapAllocator;