chore: add zig module
This commit is contained in:
parent
7882924179
commit
a61caad235
|
@ -15,6 +15,9 @@ pub fn build(b: *std.Build) void {
|
||||||
// set a preferred release mode, allowing the user to decide how to optimize.
|
// set a preferred release mode, allowing the user to decide how to optimize.
|
||||||
const optimize = b.standardOptimizeOption(.{});
|
const optimize = b.standardOptimizeOption(.{});
|
||||||
|
|
||||||
|
const module = b.addModule("hamt", .{ .source_file = .{ .path = "src/lib.zig" } });
|
||||||
|
_ = module;
|
||||||
|
|
||||||
const lib = b.addStaticLibrary(.{
|
const lib = b.addStaticLibrary(.{
|
||||||
.name = "hamt",
|
.name = "hamt",
|
||||||
// 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
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
.{
|
.{
|
||||||
.name = "hamt",
|
.name = "hamt",
|
||||||
.version = "0.0.1",
|
.version = "0.1.0",
|
||||||
.dependencies = .{},
|
.dependencies = .{},
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue