mirror of
https://github.com/ratfactor/ziglings
synced 2024-05-11 04:36:04 +02:00
Compare commits
4 Commits
b3b218a9ab
...
d572302e2c
Author | SHA1 | Date | |
---|---|---|---|
Chris Boesch | d572302e2c | ||
Chris Boesch | 3ee6c6e440 | ||
Chris Boesch | d67789c6d4 | ||
Nicolas Chataing | a1f088a7b0 |
|
@ -45,7 +45,7 @@ Verify the installation and build number of `zig` like so:
|
|||
|
||||
```
|
||||
$ zig version
|
||||
0.11.0-dev.3853+xxxxxxxxx
|
||||
0.11.0-dev.4246+xxxxxxxxx
|
||||
```
|
||||
|
||||
Clone this repository with Git:
|
||||
|
@ -89,7 +89,8 @@ that if you update one, you may need to also update the other.
|
|||
|
||||
### Version Changes
|
||||
|
||||
Version-0.11.0-dev.3853+cc2daae47
|
||||
Version-0.11.0-dev.4246+71dfce31b
|
||||
* *2023-06-26* zig 0.11.0-dev.4246 - changes in compile step (now it can be null)
|
||||
* *2023-06-26* zig 0.11.0-dev.3853 - removal of destination type from all cast builtins
|
||||
* *2023-06-20* zig 0.11.0-dev.3747 - `@enumToInt` is now `@intFromEnum` and `@intToFloat` is now `@floatFromInt`
|
||||
* *2023-05-25* zig 0.11.0-dev.3295 - `std.debug.TTY` is now `std.io.tty`
|
||||
|
|
|
@ -240,7 +240,7 @@ const ZiglingStep = struct {
|
|||
std.os.exit(2);
|
||||
};
|
||||
|
||||
self.run(exe_path, prog_node) catch {
|
||||
self.run(exe_path.?, prog_node) catch {
|
||||
self.printErrors();
|
||||
|
||||
if (self.exercise.hint) |hint|
|
||||
|
@ -350,7 +350,7 @@ const ZiglingStep = struct {
|
|||
print("{s}PASSED{s}\n\n", .{ green_text, reset_text });
|
||||
}
|
||||
|
||||
fn compile(self: *ZiglingStep, prog_node: *std.Progress.Node) ![]const u8 {
|
||||
fn compile(self: *ZiglingStep, prog_node: *std.Progress.Node) !?[]const u8 {
|
||||
print("Compiling {s}...\n", .{self.exercise.main_file});
|
||||
|
||||
const b = self.step.owner;
|
||||
|
|
|
@ -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.3853";
|
||||
const needed_version_str = "0.11.0-dev.4246";
|
||||
|
||||
fn isCompatible() bool {
|
||||
if (!@hasDecl(builtin, "zig_version") or !@hasDecl(std, "SemanticVersion")) {
|
||||
|
|
Loading…
Reference in New Issue