hare

The Hare programming language
git clone https://git.torresjrjr.com/hare.git
Log | Files | Refs | README | LICENSE

commit 337dfea982e6f9542df61f7323679006fe2e92d9
parent 60445330ef8d3433a6b8f1187b2dec6838742dbb
Author: Drew DeVault <sir@cmpwn.com>
Date:   Tue,  4 May 2021 15:58:01 -0400

hare::types: remove c_compat

This is mainly an ABI concern and doesn't belong at this level. We'll
implement it in gen.

Signed-off-by: Drew DeVault <sir@cmpwn.com>

Diffstat:
Mhare/types/hash.ha | 1-
Mhare/types/types.ha | 4----
2 files changed, 0 insertions(+), 5 deletions(-)

diff --git a/hare/types/hash.ha b/hare/types/hash.ha @@ -149,7 +149,6 @@ export fn hash(t: *_type) u32 = { flags = flags::NONE, _type = _struct { kind = struct_union::STRUCT, - c_compat = true, fields = [ // XXX: Sorted by name per bootstrap harec // conventions diff --git a/hare/types/types.ha b/hare/types/types.ha @@ -48,10 +48,6 @@ export type _struct = struct { kind: struct_union, // TODO: Ensure that fields are sorted to match bootstrap harec fields: []struct_field, - - // True if this struct is compatible with C structs (or unions). This - // will generally only be false if @offset is used to mess with things. - c_compat: bool, }; // A single struct field.