Commit graph

5 commits

Author SHA1 Message Date
Trevon
a1cb2ed643
fix(build): build libsql into the meson build tree (#324)
The libsql wrap ran `cargo build` and then copied the archive from
<src>/target/<profile>. Cargo's output directory is not fixed: an ambient
CARGO_TARGET_DIR, CARGO_BUILD_TARGET_DIR or a build.target-dir in a cargo
config relocates it, so the copy step fails *after* a successful compile
with "libsql output not found". Because it is the last step of the build
it reads as a compile failure, and cargo's own success is easy to miss.

Hand the target directory to cargo explicitly as a meson-owned path under
the build tree, and drop CARGO_TARGET_DIR from the child environment.
--target-dir outranks every cargo configuration source, so the directory
cargo writes and the directory we read can no longer disagree, and two
meson build directories no longer share rust artifacts.

Internal only: no user-facing change.
2026-10-22 07:12:19 -06:00
trvon
9b7dbacdf6
fix(ci): stabilize Windows release builds 2026-07-05 15:56:52 -04:00
Trevon
557f8c1da3
Merge branch 'main' of https://github.com/trvon/yams 2026-05-02 21:34:38 -04:00
trvon
19caa0961d
fixing meson install logic of libsql 2026-01-20 12:11:36 -05:00
trvon
6e9221c8b2 fixing for building libsql 2026-01-20 01:05:57 +00:00