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

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 = wasm.env;
pub const Env = wasm.Env;

pub const app = @import("app/root.zig");