summaryrefslogtreecommitdiff
path: root/introspect/src/root.zig
blob: 1dcc892e98cba6a27cb48b39e4bb97f5d44835f7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
//! introspect: a 9P2000 debug/introspection server as a library. See
//! docs/LIBRARY.md. `core` and `vars` are freestanding; `scratch` takes an
//! allocator; `linux` is the platform layer (only on Linux).
const std = @import("std");
const builtin = @import("builtin");

pub const core = @import("core.zig");
pub const vars = @import("vars.zig");
pub const scratch = @import("scratch.zig");
pub const linux = if (builtin.os.tag == .linux) @import("linux/probe.zig") else struct {};

pub const Config = core.Config;
pub const Server = core.Server;
pub const Provider = core.Provider;
pub const NodeStat = core.NodeStat;
pub const Scratch = scratch.Scratch;

test {
    std.testing.refAllDecls(@This());
    _ = core;
    _ = vars;
    _ = scratch;
    if (builtin.os.tag == .linux) _ = linux;
}