.
このコミットが含まれているのは:
コミット
054453f49b
|
@ -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" },
|
||||
|
|
読み込み中…
新しいイシューから参照