Skip to content

Conversation

@estevesnp
Copy link

After zig 0.15.0, the build system had some breaking changes, not allowing the ExecutableOptions to directly set the root_source_file, target and optimize fields, instead needing the root_module field to be set. This PR fixes that snippet, updating it to use the b.createModule function (but could also use b.addModule function instead).

Also formats the file according to the .editorconfig file.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant