const builtin = @import("builtin"); const std = @import("std"); const wasm = wasm_struct: { if (builtin.target.cpu.arch.isWasm()) { break :wasm_struct struct { pub const env = @import("env/root.zig"); pub const Env = @import("Env/root.zig"); export const bit_length: u8 = @sizeOf(usize); }; } break :wasm_struct struct { pub const Env = struct { pub const Object = struct {}; }; }; }; pub const env = wasm.env; pub const Env = wasm.Env; pub const App = @import("App/root.zig").App; pub const allocator: std.mem.Allocator = if (builtin.target.cpu.arch.isWasm()) .{ .ptr = undefined, .vtable = &std.heap.BrkAllocator.vtable, } else .failing;