Skip to main content

Layout Probe

Challenge on lesson: Checkpoint — ABI Reasoning

Implement the four probe functions against the frozen Record struct: size, alignment, member offsets of id and score. The test checks them against the ABI facts this compiler produces — wrong probe logic (hardcoded guesses) fails on some platform by construction.

Difficulty: advanced

Back to lesson: Checkpoint — ABI Reasoning