ghostty/src/main.zig
2024-02-04 20:27:53 -08:00

11 lines
435 B
Zig

const build_config = @import("build_config.zig");
// See build_config.ExeEntrypoint for why we do this.
pub usingnamespace switch (build_config.exe_entrypoint) {
.ghostty => @import("main_ghostty.zig"),
.helpgen => @import("helpgen.zig"),
.mdgen_ghostty_1 => @import("build/mdgen/main_ghostty_1.zig"),
.mdgen_ghostty_5 => @import("build/mdgen/main_ghostty_5.zig"),
.bench_parser => @import("bench/parser.zig"),
};