From 8a2a0c5a93c73310ec6d41cb38ca524d37fc07e7 Mon Sep 17 00:00:00 2001 From: Shane Shrybman Date: Thu, 12 Feb 2026 11:05:23 -0500 Subject: [PATCH] Remove core:mem dependency from strings intern.odin --- core/strings/intern.odin | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/core/strings/intern.odin b/core/strings/intern.odin index 909510c7c..9b816ff8d 100644 --- a/core/strings/intern.odin +++ b/core/strings/intern.odin @@ -1,7 +1,6 @@ package strings import "base:runtime" -import "core:mem" // Custom string entry struct Intern_Entry :: struct { @@ -35,7 +34,7 @@ Inputs: Returns: - err: An allocator error if one occured, `nil` otherwise */ -intern_init :: proc(m: ^Intern, allocator := context.allocator, map_allocator := context.allocator, loc := #caller_location) -> (err: mem.Allocator_Error) { +intern_init :: proc(m: ^Intern, allocator := context.allocator, map_allocator := context.allocator, loc := #caller_location) -> (err: runtime.Allocator_Error) { m.allocator = allocator m.entries = make(map[string]^Intern_Entry, 16, map_allocator, loc) or_return return nil