From 541443fe333174b5a7c718ea40a466214c4cf680 Mon Sep 17 00:00:00 2001 From: Feoramund <161657516+Feoramund@users.noreply.github.com> Date: Tue, 28 Jan 2025 14:52:33 -0500 Subject: [PATCH] Don't build feoramalloc on web platforms Their allocation pathways are already tuned for their respective platforms. --- base/runtime/heap_allocator.odin | 2 ++ base/runtime/heap_allocator_control.odin | 2 ++ base/runtime/heap_allocator_debugging.odin | 2 ++ base/runtime/heap_allocator_implementation.odin | 2 ++ base/runtime/heap_allocator_info.odin | 2 ++ 5 files changed, 10 insertions(+) diff --git a/base/runtime/heap_allocator.odin b/base/runtime/heap_allocator.odin index fba56c10a..0fb160347 100644 --- a/base/runtime/heap_allocator.odin +++ b/base/runtime/heap_allocator.odin @@ -1,4 +1,6 @@ +#+build !js #+build !orca +#+build !wasi package runtime import "base:intrinsics" diff --git a/base/runtime/heap_allocator_control.odin b/base/runtime/heap_allocator_control.odin index f7ead8f57..4224058ae 100644 --- a/base/runtime/heap_allocator_control.odin +++ b/base/runtime/heap_allocator_control.odin @@ -1,4 +1,6 @@ +#+build !js #+build !orca +#+build !wasi package runtime import "base:intrinsics" diff --git a/base/runtime/heap_allocator_debugging.odin b/base/runtime/heap_allocator_debugging.odin index e2315c37a..d055f2ce9 100644 --- a/base/runtime/heap_allocator_debugging.odin +++ b/base/runtime/heap_allocator_debugging.odin @@ -1,4 +1,6 @@ +#+build !js #+build !orca +#+build !wasi package runtime import "base:intrinsics" diff --git a/base/runtime/heap_allocator_implementation.odin b/base/runtime/heap_allocator_implementation.odin index 59738fcf6..be3a4097f 100644 --- a/base/runtime/heap_allocator_implementation.odin +++ b/base/runtime/heap_allocator_implementation.odin @@ -1,4 +1,6 @@ +#+build !js #+build !orca +#+build !wasi package runtime import "base:intrinsics" diff --git a/base/runtime/heap_allocator_info.odin b/base/runtime/heap_allocator_info.odin index 8fcc9cfb6..9249845b4 100644 --- a/base/runtime/heap_allocator_info.odin +++ b/base/runtime/heap_allocator_info.odin @@ -1,4 +1,6 @@ +#+build !js #+build !orca +#+build !wasi package runtime import "base:intrinsics"