Package management fix

main
copygirl 1 year ago
parent 6b66acb99e
commit 41514ca133
  1. 8
      build.zig
  2. 4
      build.zig.zon

@ -1,9 +1,15 @@
const std = @import("std");
pub fn build(b: *std.Build) void {
pub fn build(b: *std.Build) !void {
const target = b.standardTargetOptions(.{});
const optimize = b.standardOptimizeOption(.{});
const module = b.createModule(.{
.source_file = .{ .path = "src/main.zig" },
});
try b.modules.put(b.dupe("wasmslime"), module);
const lib = b.addStaticLibrary(.{
.name = "wasmslime",
.root_source_file = .{ .path = "src/main.zig" },

@ -0,0 +1,4 @@
.{
.name = "wasmslime",
.version = "0.1.0",
}
Loading…
Cancel
Save