See the first example in Andrew's introduction: https://andrewkelley.me/post/intro-to-zig.html