このコミットが含まれているのは:
守矢諏訪子 2023-08-02 11:15:02 +09:00
コミット 054453f49b
1個のファイルの変更7行の追加2行の削除

ファイルの表示

@ -1,10 +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(.{});
var mod = b.createModule(.{
.source_file = .{ .path = "src/main.zig" },
});
try b.modules.put(b.dupe("toki"), mod);
const lib = b.addStaticLibrary(.{
.name = "toki",
.root_source_file = .{ .path = "src/main.zig" },