Merge pull request #180 from chrboesch/v1602

updated to version 011.0-dev.1602
This commit is contained in:
Chris Boesch 2023-02-12 17:36:37 +01:00 committed by GitHub
commit 0dd1cf1b18
2 changed files with 5 additions and 6 deletions

View file

@ -41,7 +41,7 @@ Verify the installation and build number of `zig` like so:
```bash ```bash
$ zig version $ zig version
0.11.0-dev.1568+xxxxxxxxx 0.11.0-dev.1602+xxxxxxxxx
``` ```
Clone this repository with Git: Clone this repository with Git:
@ -82,6 +82,7 @@ about input:
### Version Changes ### Version Changes
Version-0.11.0-dev.1568+xxxxxxxxx Version-0.11.0-dev.1568+xxxxxxxxx
* *2023-02-12* zig 0.11.0-dev.1602 -
* *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

View file

@ -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.1568") catch unreachable; const needed_version = std.SemanticVersion.parse("0.11.0-dev.1602") 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.
@ -419,6 +419,7 @@ const exercises = [_]Exercise{
.output = "I say hello!", .output = "I say hello!",
}, },
// disabled because of https://github.com/ratfactor/ziglings/issues/163 // disabled because of https://github.com/ratfactor/ziglings/issues/163
// direct link: https://github.com/ziglang/zig/issues/6025
// .{ // .{
// .main_file = "084_async.zig", // .main_file = "084_async.zig",
// .output = "foo() A", // .output = "foo() A",
@ -564,10 +565,7 @@ pub fn build(b: *Builder) void {
const file_path = std.fs.path.join(b.allocator, &[_][]const u8{ const file_path = std.fs.path.join(b.allocator, &[_][]const u8{
if (use_healed) "patches/healed" else "exercises", ex.main_file, if (use_healed) "patches/healed" else "exercises", ex.main_file,
}) catch unreachable; }) catch unreachable;
const build_step = b.addExecutable(.{ const build_step = b.addExecutable(.{ .name = base_name, .root_source_file = .{ .path = file_path } });
.name = base_name,
.root_source_file = .{ .path = file_path }
});
build_step.install(); build_step.install();