zig: bumps to latest (#1080)

Signed-off-by: Adrian Cole <adrian@tetrate.io>
This commit is contained in:
Crypt Keeper
2023-01-30 16:30:52 +02:00
committed by GitHub
parent d04199d1c3
commit f9db80624d
12 changed files with 48 additions and 46 deletions

View File

@@ -7,7 +7,8 @@ pub fn build(b: *std.build.Builder) void {
const mode = b.standardReleaseOptions();
const lib = b.addSharedLibrary("greet", "greet.zig", .unversioned);
lib.setTarget(CrossTarget{ .cpu_arch = .wasm32, .os_tag = .freestanding });
lib.setTarget(.{ .cpu_arch = .wasm32, .os_tag = .freestanding });
lib.rdynamic = true;
lib.setBuildMode(mode);
lib.install();
}