refactor: move TypedInt to a module

This commit is contained in:
CJ van den Berg 2026-01-22 15:34:19 +01:00
parent 6d86807e21
commit 2ee92d2548
Signed by: neurocyte
GPG key ID: 8EB1E1BB660E3FB9
3 changed files with 38 additions and 17 deletions

View file

@ -434,11 +434,19 @@ pub fn build_exe(
.root_source_file = b.path("src/lsp_types.zig"),
});
const TypedInt_mod = b.createModule(.{
.root_source_file = b.path("src/TypedInt.zig"),
.imports = &.{
.{ .name = "cbor", .module = cbor_mod },
},
});
const Buffer_mod = b.createModule(.{
.root_source_file = b.path("src/buffer/Buffer.zig"),
.imports = &.{
.{ .name = "cbor", .module = cbor_mod },
.{ .name = "thespian", .module = thespian_mod },
.{ .name = "TypedInt", .module = TypedInt_mod },
.{ .name = "vaxis", .module = vaxis_mod },
.{ .name = "file_type_config", .module = file_type_config_mod },
},