Changes
2 changed files (+0/-43)
-
-
@@ -8,9 +8,6 @@const ProtoGenStep = @import("gremlin").ProtoGenStep; pub fn build(b: *std.Build) void { const system_target = b.standardTargetOptions(.{}); const system_optimize = b.standardOptimizeOption(.{}); const proto_gen = ProtoGenStep.create(b, .{ .proto_sources = b.path("../proto/"), .target = b.path("src/proto"),
-
@@ -49,25 +46,4 @@wasm.step.dependOn(&proto_gen.step); b.installArtifact(wasm); // === サーバ const server = b.addExecutable(.{ .name = "yamori", .root_source_file = b.path("src/server.zig"), .target = system_target, .optimize = system_optimize, }); server.root_module.addImport( "gremlin", b.dependency("gremlin", .{ .target = system_target, .optimize = system_optimize, }).module("gremlin"), ); server.step.dependOn(&proto_gen.step); b.installArtifact(server); }
-
-
packages/backend/src/server.zig (deleted)
-
@@ -1,19 +0,0 @@// SPDX-FileCopyrightText: 2025 Shota FUJI <pockawoooh@gmail.com> // SPDX-License-Identifier: AGPL-3.0-only const std = @import("std"); const Core = @import("Core.zig"); pub fn main() !void { var arena = std.heap.ArenaAllocator.init(std.heap.page_allocator); defer arena.deinit(); const allocator = arena.allocator(); const core = Core.init(allocator); const bytes = try core.handle("yamori.meta.v1", "Ping", &.{}); std.debug.print("{d}:{d}\n", .{ @intFromPtr(bytes.ptr), bytes.len }); }
-