All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- Bump default Zig version to
0.13.0
and make the generatedbuild.zig
compatible with it.
- Add missing include in generated library to make it work on Windows
- Fix the generated
build.zig
to make it work on Windows.
- Add
mix build_dot_zig.gen.c_nif
Mix generator. - Allow passing project-specific options with
zig_extra_options
.
- Use
:release_safe
build mode by default in:prod
env. Leave:debug
as default in all other cases.
- Fix arch detection on Windows.
- Pass the correct option for optimize modes.
- Due to the different options for the optimize modes,
:build_dot_zig
is currently only compatible with Zig version0.11.0
.
- Add
zig_target
option. - Add
zig_cpu
option.
- Bump latest stable
zig
to0.11.0
.
- Clean Zig cache on
mix.clean
. - Add functionality to automatically download the
zig
toolchain, also with a specific version. - Allow defining the build mode from the Mix configuration.
- BREAKING: rename
:build_dot_zig_executable
option to:zig_executable
.
- Handle
:default
in the:build_dot_zig_executable
option.
- Put
zig-cache
in the_build
folder with all other build artifacts.
- Initial release.