aboutsummaryrefslogtreecommitdiff
path: root/base/runtime
diff options
context:
space:
mode:
authorgingerBill <bill@gingerbill.org>2025-02-20 17:09:28 +0000
committergingerBill <bill@gingerbill.org>2025-02-20 17:10:04 +0000
commit614c0dd7401271f7ddad5eaeb4de234021fe387c (patch)
tree7e849a62db957fa83d15f6127142b9b28ec33b4d /base/runtime
parent4ece0617bcd13d50cc8826bd144d9bcadd14a791 (diff)
Fix `typeid` size for 32-bit platforms
Diffstat (limited to 'base/runtime')
-rw-r--r--base/runtime/core.odin2
1 files changed, 2 insertions, 0 deletions
diff --git a/base/runtime/core.odin b/base/runtime/core.odin
index 285883c2b..db5e4d698 100644
--- a/base/runtime/core.odin
+++ b/base/runtime/core.odin
@@ -442,10 +442,12 @@ Raw_Any :: struct {
data: rawptr,
id: typeid,
}
+#assert(size_of(Raw_Any) == size_of(any))
Raw_Cstring :: struct {
data: [^]byte,
}
+#assert(size_of(Raw_Cstring) == size_of(cstring))
Raw_Soa_Pointer :: struct {
data: rawptr,