diff options
| author | gingerBill <bill@gingerbill.org> | 2025-03-03 15:16:50 +0000 |
|---|---|---|
| committer | gingerBill <bill@gingerbill.org> | 2025-03-03 15:16:50 +0000 |
| commit | 21a6648cdeaf2a7cf21896f8bbe89edadcb100f0 (patch) | |
| tree | c69f6deec43f2bf015487e6685a336625aa41dda /base/runtime | |
| parent | 4170e6e6d4567d5874c4358bc7946d8c4f243145 (diff) | |
Fix #4903
Diffstat (limited to 'base/runtime')
| -rw-r--r-- | base/runtime/core.odin | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/base/runtime/core.odin b/base/runtime/core.odin index db5e4d698..cd7d35540 100644 --- a/base/runtime/core.odin +++ b/base/runtime/core.odin @@ -442,7 +442,9 @@ Raw_Any :: struct { data: rawptr, id: typeid, } -#assert(size_of(Raw_Any) == size_of(any)) +when !ODIN_NO_RTTI { + #assert(size_of(Raw_Any) == size_of(any)) +} Raw_Cstring :: struct { data: [^]byte, |