<feed xmlns='http://www.w3.org/2005/Atom'>
<title>zigling-exercises.git/src/compat.zig, branch main</title>
<subtitle>My copy of the Zigling exercises and their solutions. See the original at https://codeberg.org/ziglings/exercises
</subtitle>
<id>https://git.muftee.net/zigling-exercises.git/atom?h=main</id>
<link rel='self' href='https://git.muftee.net/zigling-exercises.git/atom?h=main'/>
<link rel='alternate' type='text/html' href='https://git.muftee.net/zigling-exercises.git/'/>
<updated>2023-10-05T22:33:24Z</updated>
<entry>
<title>changed compat check to comptime</title>
<updated>2023-10-05T22:33:24Z</updated>
<author>
<name>Chris Boesch</name>
<email>chrboesch@noreply.codeberg.org</email>
</author>
<published>2023-10-05T22:33:24Z</published>
<link rel='alternate' type='text/html' href='https://git.muftee.net/zigling-exercises.git/commit/?id=3ab19421562e8c7d7d4394d5655088de5c52edd7'/>
<id>urn:sha1:3ab19421562e8c7d7d4394d5655088de5c52edd7</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Upgrade to Zig version 4246</title>
<updated>2023-07-26T18:20:40Z</updated>
<author>
<name>Chris Boesch</name>
<email>chrboesch@noreply.codeberg.org</email>
</author>
<published>2023-07-26T18:20:40Z</published>
<link rel='alternate' type='text/html' href='https://git.muftee.net/zigling-exercises.git/commit/?id=ac1d003f1e4a48bb51dfb0e18ed80a3308ecdf14'/>
<id>urn:sha1:ac1d003f1e4a48bb51dfb0e18ed80a3308ecdf14</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Revised exercises due to the changes of Zig version 0.11.0-dev.3853</title>
<updated>2023-06-26T21:43:39Z</updated>
<author>
<name>Chris Boesch</name>
<email>chrboesch@noreply.codeberg.org</email>
</author>
<published>2023-06-26T21:43:39Z</published>
<link rel='alternate' type='text/html' href='https://git.muftee.net/zigling-exercises.git/commit/?id=a5a36337e88a15befbb814cdd14a4801e44f6673'/>
<id>urn:sha1:a5a36337e88a15befbb814cdd14a4801e44f6673</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Changed to zig developer version 3747.</title>
<updated>2023-06-22T09:31:46Z</updated>
<author>
<name>Chris Boesch</name>
<email>chrboesch@noreply.codeberg.org</email>
</author>
<published>2023-06-22T09:31:46Z</published>
<link rel='alternate' type='text/html' href='https://git.muftee.net/zigling-exercises.git/commit/?id=bd4a48c3c9a41773cabd66b4fb985e699fb5527f'/>
<id>urn:sha1:bd4a48c3c9a41773cabd66b4fb985e699fb5527f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>changed version number</title>
<updated>2023-05-25T13:18:14Z</updated>
<author>
<name>Chris Boesch</name>
<email>chrboesch@noreply.codeberg.org</email>
</author>
<published>2023-05-25T13:18:14Z</published>
<link rel='alternate' type='text/html' href='https://git.muftee.net/zigling-exercises.git/commit/?id=1482b82500c48054909fb8cb277c10bdb702efa5'/>
<id>urn:sha1:1482b82500c48054909fb8cb277c10bdb702efa5</id>
<content type='text'>
</content>
</entry>
<entry>
<title>build: add the Exercise.addExecutable method</title>
<updated>2023-05-01T16:39:54Z</updated>
<author>
<name>Manlio Perillo</name>
<email>manlio.perillo@gmail.com</email>
</author>
<published>2023-04-30T15:47:16Z</published>
<link rel='alternate' type='text/html' href='https://git.muftee.net/zigling-exercises.git/commit/?id=69103a3b821d8b8955eac59489b0dabb6f4735ff'/>
<id>urn:sha1:69103a3b821d8b8955eac59489b0dabb6f4735ff</id>
<content type='text'>
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.
</content>
</entry>
<entry>
<title>Update the code to the new zig version</title>
<updated>2023-04-12T16:50:30Z</updated>
<author>
<name>Manlio Perillo</name>
<email>manlio.perillo@gmail.com</email>
</author>
<published>2023-04-12T16:41:40Z</published>
<link rel='alternate' type='text/html' href='https://git.muftee.net/zigling-exercises.git/commit/?id=bc98057d669c3256c3820bb18ca88d166426da23'/>
<id>urn:sha1:bc98057d669c3256c3820bb18ca88d166426da23</id>
<content type='text'>
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.
</content>
</entry>
<entry>
<title>Insert current zig version for compatiblity!</title>
<updated>2023-04-07T16:18:15Z</updated>
<author>
<name>Chris Boesch</name>
<email>chrboesch@noreply.codeberg.org</email>
</author>
<published>2023-04-07T16:18:15Z</published>
<link rel='alternate' type='text/html' href='https://git.muftee.net/zigling-exercises.git/commit/?id=ddc835762c1276c781295164a2bb3e42b35670df'/>
<id>urn:sha1:ddc835762c1276c781295164a2bb3e42b35670df</id>
<content type='text'>
This is primarily to make users aware that there has been a change in the call for individual exercises.
</content>
</entry>
<entry>
<title>build: restore support for Zig 0.6.0</title>
<updated>2023-04-03T09:37:12Z</updated>
<author>
<name>Manlio Perillo</name>
<email>manlio.perillo@gmail.com</email>
</author>
<published>2023-04-03T09:06:39Z</published>
<link rel='alternate' type='text/html' href='https://git.muftee.net/zigling-exercises.git/commit/?id=45713ec8ab21f81291bc14e2725730dac26d5137'/>
<id>urn:sha1:45713ec8ab21f81291bc14e2725730dac26d5137</id>
<content type='text'>
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.
</content>
</entry>
</feed>
