build: update thespian to use separate cbor package

This commit is contained in:
CJ van den Berg 2025-03-26 20:41:44 +01:00
parent 6eaef79f43
commit c3cda5b7fe
Signed by: neurocyte
GPG key ID: 8EB1E1BB660E3FB9
6 changed files with 33 additions and 6 deletions

View file

@ -225,7 +225,12 @@ pub fn build_exe(
});
const thespian_mod = thespian_dep.module("thespian");
const cbor_mod = thespian_dep.module("cbor");
const cbor_dep = thespian_dep.builder.dependency("cbor", .{
.target = target,
.optimize = optimize_deps,
});
const cbor_mod = cbor_dep.module("cbor");
const tracy_dep = if (tracy_enabled) thespian_dep.builder.dependency("tracy", .{
.target = target,