aboutsummaryrefslogtreecommitdiff
path: root/base/runtime/default_allocators_nil.odin
diff options
context:
space:
mode:
authorgingerBill <bill@gingerbill.org>2024-01-28 22:40:46 +0000
committergingerBill <bill@gingerbill.org>2024-01-28 22:40:46 +0000
commit9a16bc5fc59775f3171d47e9d38b0c1fb193108d (patch)
treea118bac68e9a91d32c145386ac3cc8008f13547a /base/runtime/default_allocators_nil.odin
parenteee8e0faa266ca5fa049b22d7553a1093405e945 (diff)
Remove `core:os` dependency for `base:runtime`
Diffstat (limited to 'base/runtime/default_allocators_nil.odin')
-rw-r--r--base/runtime/default_allocators_nil.odin8
1 files changed, 0 insertions, 8 deletions
diff --git a/base/runtime/default_allocators_nil.odin b/base/runtime/default_allocators_nil.odin
index c882f5196..ce8519c10 100644
--- a/base/runtime/default_allocators_nil.odin
+++ b/base/runtime/default_allocators_nil.odin
@@ -31,14 +31,6 @@ nil_allocator :: proc() -> Allocator {
}
-
-when ODIN_OS == .Freestanding {
- default_allocator_proc :: nil_allocator_proc
- default_allocator :: nil_allocator
-}
-
-
-
panic_allocator_proc :: proc(allocator_data: rawptr, mode: Allocator_Mode,
size, alignment: int,
old_memory: rawptr, old_size: int, loc := #caller_location) -> ([]byte, Allocator_Error) {