From 204dee162d014ee82d3bb00b4c66f8e90c04ba54 Mon Sep 17 00:00:00 2001 From: jakubtomsu <66876057+jakubtomsu@users.noreply.github.com> Date: Tue, 10 Feb 2026 18:31:43 +0100 Subject: [PATCH] remove xxhash core:mem dependency --- core/hash/xxhash/streaming.odin | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/hash/xxhash/streaming.odin b/core/hash/xxhash/streaming.odin index d34206fdb..22d99be1d 100644 --- a/core/hash/xxhash/streaming.odin +++ b/core/hash/xxhash/streaming.odin @@ -10,7 +10,7 @@ package xxhash Jeroen van Rijn: Initial implementation. */ -import "core:mem" +import "base:runtime" import "base:intrinsics" /* @@ -121,7 +121,7 @@ XXH3_init_state :: proc(state: ^XXH3_state) { } XXH3_create_state :: proc(allocator := context.allocator) -> (res: ^XXH3_state, err: Error) { - state, mem_error := mem.new_aligned(XXH3_state, 64, allocator) + state, mem_error := runtime.new_aligned(XXH3_state, 64, allocator) err = nil if mem_error == nil else .Error XXH3_init_state(state)