Merge pull request #270 from perillo/improve-exercise-type

Improve the Exercise type
pull/2/head
Chris Boesch 1 year ago committed by GitHub
commit e9d0ab3784

@ -40,7 +40,7 @@ Verify the installation and build number of `zig` like so:
```
$ zig version
0.11.0-dev.2560+xxxxxxxxx
0.11.0-dev.2704+xxxxxxxxx
```
Clone this repository with Git:
@ -74,13 +74,12 @@ Once you have a build of the Zig compiler that works with Ziglings, they'll
continue to work together. But keep in mind that if you update one, you may
need to also update the other.
Also note that the current "stage 1" Zig compiler is very strict
about input:
[no tab characters or Windows CR/LF newlines are allowed](https://github.com/ziglang/zig/issues/544).
### Version Changes
Version-0.11.0-dev.2560+602029bb2
Version-0.11.0-dev.2704+83970b6d9
* *2023-04-30* zig 0.11.0-dev.2704 - use of the new `std.Build.ExecutableOptions.link_libc` field
* *2023-04-12* zig 0.11.0-dev.2560 - changes in `std.Build` - remove run() and install()
* *2023-04-07* zig 0.11.0-dev.2401 - fixes of the new build system - see [#212](https://github.com/ratfactor/ziglings/pull/212)
* *2023-02-21* zig 0.11.0-dev.2157 - changes in `build system` - new: parallel processing of the build steps
* *2023-02-21* zig 0.11.0-dev.1711 - changes in `for loops` - new: Multi-Object For-Loops + Struct-of-Arrays

File diff suppressed because it is too large Load Diff

@ -15,7 +15,7 @@ const print = if (@hasDecl(debug, "print")) debug.print else debug.warn;
// When changing this version, be sure to also update README.md in two places:
// 1) Getting Started
// 2) Version Changes
const needed_version_str = "0.11.0-dev.2560";
const needed_version_str = "0.11.0-dev.2704";
fn isCompatible() bool {
if (!@hasDecl(builtin, "zig_version") or !@hasDecl(std, "SemanticVersion")) {

@ -323,7 +323,7 @@ fn heal(allocator: Allocator, exercises: []const Exercise, outdir: []const u8) !
const patches_path = "patches/patches";
for (exercises) |ex| {
const name = ex.baseName();
const name = ex.name();
// Use the POSIX patch variant.
const file = try join(allocator, &.{ exercises_path, ex.main_file });

Loading…
Cancel
Save