aboutsummaryrefslogtreecommitdiff
path: root/src/zilch/root.zig
blob: 4940c776fdc4f9784a8284ccbae5bbb733f50efa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
const builtin = @import("builtin");
const std = @import("std");

pub const Env = @import("Env/root.zig");
pub const Call = Call.Env;
pub const AnyFuture = AnyFuture.Env;
pub const Future = Future.Env;
pub const Value = Value.Env;
pub const log = @import("log/root.zig");
pub const Object = @import("Object.zig");
pub const html = @import("html/root.zig");

pub const App = @import("App/root.zig").App;
pub const Options = @import("App/root.zig").Options;
pub const Component = @import("Component.zig");

fn defaultPanic(msg: []const u8, _: ?usize) noreturn {
    log.js.err(msg);
    @trap();
}

pub const panic = std.debug.FullPanic(defaultPanic);