From faa9222fefc831963dd258e3c040333e6d580bb0 Mon Sep 17 00:00:00 2001 From: Jeroen van Rijn Date: Wed, 15 Oct 2025 18:04:24 +0200 Subject: Set minimum #load(file, type) alignment to 16 bytes --- src/types.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/types.cpp') diff --git a/src/types.cpp b/src/types.cpp index cb830d08d..bf668e5f6 100644 --- a/src/types.cpp +++ b/src/types.cpp @@ -2,6 +2,9 @@ struct Ast; struct Scope; struct Entity; +// NOTE(Jeroen): Minimum alignment for #load(file, ) slices +#define MINIMUM_SLICE_ALIGNMENT 16 + enum BasicKind { Basic_Invalid, -- cgit v1.2.3