Skip to content
Commit 14ae87f3 authored by Alex Richardson's avatar Alex Richardson Committed by Simon McVittie (Collabora)
Browse files

Add a (temporary) assertion that sizeof(gsize) == sizeof(guintptr)

Glib does not yet have a well defined ABI/API for architectures
where gsize != guintptr (e.g. CHERI). To enable working on bringup
for new architectures this assertion can be disabled with
`-DG_ENABLE_EXPERIMENTAL_ABI_COMPILATION`.

See https://gitlab.gnome.org/GNOME/glib/-/issues/2842



[smcv: Apply review comments from pwithnall]

Signed-off-by: Simon McVittie (Collabora)'s avatarSimon McVittie <smcv@collabora.com>
parent d5bf03cb
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment