kit

kit
git clone https://git.ryansepassi.com/git/kit.git
Log | Files | Refs | README

commit 15ebd192facfde7db02a13c2a01fbe86a9bfa913
parent 0472aa10c48a2d616c7e4d7da3e347ebe23687cf
Author: Ryan Sepassi <rsepassi@gmail.com>
Date:   Fri, 12 Jun 2026 18:35:48 -0700

build(config): re-enable full component set

Restore the full build profile (all backend arches, object formats, language
frontends, the optimizer, and the driver tools/subsystems) after the minimal
cc/as/ld experiment. Reverts include/kit/config.h to the all-enabled state.

Diffstat:
Minclude/kit/config.h | 94++++++++++++++++++++++++++++++++++++++++----------------------------------------
1 file changed, 47 insertions(+), 47 deletions(-)

diff --git a/include/kit/config.h b/include/kit/config.h @@ -25,18 +25,18 @@ /* Backend architectures. */ #define KIT_ARCH_AA64_ENABLED 1 -#define KIT_ARCH_X64_ENABLED 0 -#define KIT_ARCH_RV32_ENABLED 0 -#define KIT_ARCH_RV64_ENABLED 0 -#define KIT_ARCH_WASM_ENABLED 0 -#define KIT_ARCH_C_TARGET_ENABLED 0 +#define KIT_ARCH_X64_ENABLED 1 +#define KIT_ARCH_RV32_ENABLED 1 +#define KIT_ARCH_RV64_ENABLED 1 +#define KIT_ARCH_WASM_ENABLED 1 +#define KIT_ARCH_C_TARGET_ENABLED 1 /* Object/image formats. Each gates emit + read + link-image paths and * the matching arch-side reloc tables. */ -#define KIT_OBJ_ELF_ENABLED 0 +#define KIT_OBJ_ELF_ENABLED 1 #define KIT_OBJ_MACHO_ENABLED 1 -#define KIT_OBJ_COFF_ENABLED 0 -#define KIT_OBJ_WASM_ENABLED 0 +#define KIT_OBJ_COFF_ENABLED 1 +#define KIT_OBJ_WASM_ENABLED 1 /* Language frontends. * @@ -50,12 +50,12 @@ #define KIT_LANG_ASM_ENABLED 1 #define KIT_LANG_CPP_ENABLED 1 #define KIT_LANG_C_ENABLED 1 -#define KIT_LANG_TOY_ENABLED 0 -#define KIT_LANG_WASM_ENABLED 0 +#define KIT_LANG_TOY_ENABLED 1 +#define KIT_LANG_WASM_ENABLED 1 /* Optimizer pipeline. -O0/direct codegen is always available; -O1 and above * require this flag and the matching src/opt sources. */ -#define KIT_OPT_ENABLED 0 +#define KIT_OPT_ENABLED 1 /* Optional library subsystems. These are kept separate from driver tool flags: * libkit embedders care mostly about whether a public subsystem and its @@ -66,29 +66,29 @@ * subsystems. The build asserts the dependencies that are required by the * current layout. */ #define KIT_AR_ENABLED 1 -#define KIT_DISASM_ENABLED 0 -#define KIT_DWARF_ENABLED 0 +#define KIT_DISASM_ENABLED 1 +#define KIT_DWARF_ENABLED 1 #define KIT_LINK_ENABLED 1 -#define KIT_JIT_ENABLED 0 -#define KIT_DBG_ENABLED 0 -#define KIT_EMU_ENABLED 0 +#define KIT_JIT_ENABLED 1 +#define KIT_DBG_ENABLED 1 +#define KIT_EMU_ENABLED 1 /* Code distribution: the content-addressed store (CAS) and signed `.kpkg` * packaging. CAS is the self-verifying content model; PKG layers signed * manifests + the vendored crypto/compression on top, so it requires CAS. */ -#define KIT_CAS_ENABLED 0 -#define KIT_PKG_ENABLED 0 +#define KIT_CAS_ENABLED 1 +#define KIT_PKG_ENABLED 1 /* Standalone general-purpose compression (kit/compress.h + the `compress` * tool): the gzip and LZ4-frame codecs surfaced independently of packaging. * Reuses the deflate + lz4 codec sources that PKG also pulls in, and adds the * LZ4 frame layer. */ -#define KIT_COMPRESS_ENABLED 0 +#define KIT_COMPRESS_ENABLED 1 /* Threaded-bytecode interpreter for the optimizer IR. Runs kit IR * directly (host-identity) or over the emu address space; requires the * optimizer pipeline (it consumes the O1 PReg-path Func). */ -#define KIT_INTERP_ENABLED 0 +#define KIT_INTERP_ENABLED 1 /* Interpreter dispatch: direct-threaded (computed goto) by default. The engine * additionally requires the compiler to support labels-as-values — GCC, clang, @@ -103,34 +103,34 @@ /* kit multi-call driver tools. These flags control both dispatch/help and * the driver/<tool>.c objects included in the kit binary. */ #define KIT_TOOL_CC_ENABLED 1 -#define KIT_TOOL_CHECK_ENABLED 0 -#define KIT_TOOL_BUILD_EXE_ENABLED 0 -#define KIT_TOOL_BUILD_LIB_ENABLED 0 -#define KIT_TOOL_BUILD_OBJ_ENABLED 0 -#define KIT_TOOL_INSTALL_ENABLED 0 -#define KIT_TOOL_CPP_ENABLED 0 +#define KIT_TOOL_CHECK_ENABLED 1 +#define KIT_TOOL_BUILD_EXE_ENABLED 1 +#define KIT_TOOL_BUILD_LIB_ENABLED 1 +#define KIT_TOOL_BUILD_OBJ_ENABLED 1 +#define KIT_TOOL_INSTALL_ENABLED 1 +#define KIT_TOOL_CPP_ENABLED 1 #define KIT_TOOL_AS_ENABLED 1 #define KIT_TOOL_LD_ENABLED 1 -#define KIT_TOOL_AR_ENABLED 0 -#define KIT_TOOL_RANLIB_ENABLED 0 -#define KIT_TOOL_STRIP_ENABLED 0 -#define KIT_TOOL_OBJCOPY_ENABLED 0 -#define KIT_TOOL_OBJDUMP_ENABLED 0 -#define KIT_TOOL_DBG_ENABLED 0 -#define KIT_TOOL_RUN_ENABLED 0 -#define KIT_TOOL_EMU_ENABLED 0 -#define KIT_TOOL_NM_ENABLED 0 -#define KIT_TOOL_SIZE_ENABLED 0 -#define KIT_TOOL_ADDR2LINE_ENABLED 0 -#define KIT_TOOL_SYMBOLIZE_ENABLED 0 -#define KIT_TOOL_STRINGS_ENABLED 0 -#define KIT_TOOL_CAS_ENABLED 0 -#define KIT_TOOL_PKG_ENABLED 0 -#define KIT_TOOL_XXD_ENABLED 0 -#define KIT_TOOL_CMP_ENABLED 0 -#define KIT_TOOL_HASH_ENABLED 0 -#define KIT_TOOL_COMPRESS_ENABLED 0 -#define KIT_TOOL_DISAS_ENABLED 0 -#define KIT_TOOL_MC_ENABLED 0 +#define KIT_TOOL_AR_ENABLED 1 +#define KIT_TOOL_RANLIB_ENABLED 1 +#define KIT_TOOL_STRIP_ENABLED 1 +#define KIT_TOOL_OBJCOPY_ENABLED 1 +#define KIT_TOOL_OBJDUMP_ENABLED 1 +#define KIT_TOOL_DBG_ENABLED 1 +#define KIT_TOOL_RUN_ENABLED 1 +#define KIT_TOOL_EMU_ENABLED 1 +#define KIT_TOOL_NM_ENABLED 1 +#define KIT_TOOL_SIZE_ENABLED 1 +#define KIT_TOOL_ADDR2LINE_ENABLED 1 +#define KIT_TOOL_SYMBOLIZE_ENABLED 1 +#define KIT_TOOL_STRINGS_ENABLED 1 +#define KIT_TOOL_CAS_ENABLED 1 +#define KIT_TOOL_PKG_ENABLED 1 +#define KIT_TOOL_XXD_ENABLED 1 +#define KIT_TOOL_CMP_ENABLED 1 +#define KIT_TOOL_HASH_ENABLED 1 +#define KIT_TOOL_COMPRESS_ENABLED 1 +#define KIT_TOOL_DISAS_ENABLED 1 +#define KIT_TOOL_MC_ENABLED 1 #endif /* KIT_CONFIG_H */