mirror of
https://codeberg.org/andyscott/ziglings.git
synced 2024-11-08 19:20:47 -05:00
commit
0f42850f7e
2 changed files with 6 additions and 6 deletions
|
@ -41,7 +41,7 @@ Verify the installation and build number of `zig` like so:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
$ zig version
|
$ zig version
|
||||||
0.11.0-dev.1602+xxxxxxxxx
|
0.11.0-dev.1638+xxxxxxxxx
|
||||||
```
|
```
|
||||||
|
|
||||||
Clone this repository with Git:
|
Clone this repository with Git:
|
||||||
|
@ -81,8 +81,8 @@ about input:
|
||||||
|
|
||||||
### Version Changes
|
### Version Changes
|
||||||
|
|
||||||
Version-0.11.0-dev.1602+xxxxxxxxx
|
Version-0.11.0-dev.1638+xxxxxxxxx
|
||||||
* *2023-02-12* zig 0.11.0-dev.1602 -
|
* *2023-02-12* zig 0.11.0-dev.1638 - changes in `std.Build` cache_root now returns a directory struct
|
||||||
* *2023-02-04* zig 0.11.0-dev.1568 - changes in `std.Build` (combine `std.build` and `std.build.Builder` into `std.Build`)
|
* *2023-02-04* zig 0.11.0-dev.1568 - changes in `std.Build` (combine `std.build` and `std.build.Builder` into `std.Build`)
|
||||||
* *2023-01-14* zig 0.11.0-dev.1302 - changes in `@addWithOverflow` (now returns a tuple) and `@typeInfo`; temporary disabled async functionality
|
* *2023-01-14* zig 0.11.0-dev.1302 - changes in `@addWithOverflow` (now returns a tuple) and `@typeInfo`; temporary disabled async functionality
|
||||||
* *2022-09-09* zig 0.10.0-dev.3978 - change in `NativeTargetInfo.detect` in build
|
* *2022-09-09* zig 0.10.0-dev.3978 - change in `NativeTargetInfo.detect` in build
|
||||||
|
|
|
@ -8,7 +8,7 @@ const print = std.debug.print;
|
||||||
// When changing this version, be sure to also update README.md in two places:
|
// When changing this version, be sure to also update README.md in two places:
|
||||||
// 1) Getting Started
|
// 1) Getting Started
|
||||||
// 2) Version Changes
|
// 2) Version Changes
|
||||||
const needed_version = std.SemanticVersion.parse("0.11.0-dev.1602") catch unreachable;
|
const needed_version = std.SemanticVersion.parse("0.11.0-dev.1638") catch unreachable;
|
||||||
|
|
||||||
const Exercise = struct {
|
const Exercise = struct {
|
||||||
/// main_file must have the format key_name.zig.
|
/// main_file must have the format key_name.zig.
|
||||||
|
@ -639,7 +639,7 @@ const ZiglingStep = struct {
|
||||||
|
|
||||||
print("Checking {s}...\n", .{self.exercise.main_file});
|
print("Checking {s}...\n", .{self.exercise.main_file});
|
||||||
|
|
||||||
const cwd = self.builder.build_root;
|
const cwd = self.builder.build_root.path.?;
|
||||||
|
|
||||||
const argv = [_][]const u8{exe_file};
|
const argv = [_][]const u8{exe_file};
|
||||||
|
|
||||||
|
@ -734,7 +734,7 @@ const ZiglingStep = struct {
|
||||||
zig_args.append(builder.pathFromRoot(zig_file)) catch unreachable;
|
zig_args.append(builder.pathFromRoot(zig_file)) catch unreachable;
|
||||||
|
|
||||||
zig_args.append("--cache-dir") catch unreachable;
|
zig_args.append("--cache-dir") catch unreachable;
|
||||||
zig_args.append(builder.pathFromRoot(builder.cache_root)) catch unreachable;
|
zig_args.append(builder.pathFromRoot(builder.cache_root.path.?)) catch unreachable;
|
||||||
|
|
||||||
zig_args.append("--enable-cache") catch unreachable;
|
zig_args.append("--enable-cache") catch unreachable;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue