update to zig 0.13-dev.365 (zig nominated build 2024.05
This commit is contained in:
parent
c5436c4e0a
commit
b0ef8ebe63
2
.gitignore
vendored
2
.gitignore
vendored
|
@ -1,3 +1,3 @@
|
||||||
zig-cache
|
|
||||||
zig-out
|
zig-out
|
||||||
core
|
core
|
||||||
|
.zig-cache
|
||||||
|
|
|
@ -19,7 +19,7 @@ pub fn build(b: *std.Build) void {
|
||||||
.name = "smithy",
|
.name = "smithy",
|
||||||
// In this case the main source file is merely a path, however, in more
|
// In this case the main source file is merely a path, however, in more
|
||||||
// complicated build scripts, this could be a generated file.
|
// complicated build scripts, this could be a generated file.
|
||||||
.root_source_file = .{ .path = "src/smithy.zig" },
|
.root_source_file = b.path("src/smithy.zig"),
|
||||||
.target = target,
|
.target = target,
|
||||||
.optimize = optimize,
|
.optimize = optimize,
|
||||||
});
|
});
|
||||||
|
@ -30,14 +30,14 @@ pub fn build(b: *std.Build) void {
|
||||||
b.installArtifact(lib);
|
b.installArtifact(lib);
|
||||||
|
|
||||||
const module = b.addModule("smithy", .{
|
const module = b.addModule("smithy", .{
|
||||||
.root_source_file = .{ .path = "src/smithy.zig" },
|
.root_source_file = b.path("src/smithy.zig"),
|
||||||
});
|
});
|
||||||
lib.root_module.addImport("smithy", module);
|
lib.root_module.addImport("smithy", module);
|
||||||
|
|
||||||
// Creates a step for unit testing. This only builds the test executable
|
// Creates a step for unit testing. This only builds the test executable
|
||||||
// but does not run it.
|
// but does not run it.
|
||||||
const main_tests = b.addTest(.{
|
const main_tests = b.addTest(.{
|
||||||
.root_source_file = .{ .path = "src/smithy.zig" },
|
.root_source_file = b.path("src/smithy.zig"),
|
||||||
.target = target,
|
.target = target,
|
||||||
.optimize = optimize,
|
.optimize = optimize,
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue
Block a user