aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src
AgeCommit message (Collapse)Author
2023-10-06changed compat check to comptimeChris Boesch
2023-07-26Upgrade to Zig version 4246Chris Boesch
2023-06-26Revised exercises due to the changes of Zig version 0.11.0-dev.3853Chris Boesch
2023-06-22Changed to zig developer version 3747.Chris Boesch
2023-05-30Merge pull request #308 from perillo/refactor-zigling-step-moreChris Boesch
Refactor ZiglingStep more
2023-05-25changed version numberChris Boesch
2023-05-19build: remove `ZiglingStep.eval`Manlio Perillo
Remove the `ZiglingStep.eval` method and the src/ipc.zig source code. Use `Step.evalZigProcess`, instead. This greatly simplifies the code. Print the error messages and error bundle in `ZiglingStep.make`, both in case of error and success. Additionally, remove the `ZiglingStep.is_testing` field, since it is no longer necessary.
2023-05-01build: add the Exercise.addExecutable methodManlio Perillo
Currently addExecutable is called 3 times, unnecessarily making the code more complex. The method takes as argument the path to the exercises directory. Additionally, use the new std.Build.ExecutableOptions.link_libc field. The new field was added in ziglang/zig@adc9b77d5f on 2023-04-13. Update the required Zig compiler version. Note that I added the **current** zig version to the changelog, since the reason for the change is known only to the person updating the version.
2023-04-18build: restore compatibility support againManlio Perillo
Commit e214c44 (build: update ZiglingStep to the new API) broke again the compatibility support for old compilers, due to the use of the multi-object for loop syntax. Move the Zig IPC support code to src/ipc.zig. Use the while statement, instead of the for statement.
2023-04-12Update the code to the new zig versionManlio Perillo
Update the code to the breaking change in ziglang commit 60eabc0ec (std.Build.CompileStep: remove run() and install()) Update the zig version in the README.md file.
2023-04-07Insert current zig version for compatiblity!Chris Boesch
This is primarily to make users aware that there has been a change in the call for individual exercises.
2023-04-03build: restore support for Zig 0.6.0Manlio Perillo
The version check for Zig 0.6.0 was incorrect since commit 971ab7f (Use a zig build script to run ziglings). Move compatibility support to a separate file, in order to simplify build.zig. In case of incompatible version, exit with code 3 instead of 0, in order to detect the case of failure in a test (to be implemented). Remove the use of comptime when checking compatibility at the start of the build function, since it is not necessary. Closes #210.